diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
commit | 56f5841d4b9c12296cdfcaeff174b2627d59afc8 (patch) | |
tree | 4f7da4ebbe5ee15a1594b26466ed78e2cf10de35 /config/routes.rb | |
parent | c1b0443ba2aebdbd39291ddab0c189f3f4831320 (diff) | |
download | pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.gz pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.bz2 pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.zip |
Migrate to full rails app
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 0151fff..61d1a6b 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
@@ -1,4 +1,4 @@ | |||
1 | Pokeviewer::Engine.routes.draw do | 1 | Rails.application.routes.draw do |
2 | get '/', to: 'pokemon#index' | 2 | get '/', to: 'pokemon#index' |
3 | post '/', to: 'uploader#submit' | 3 | post '/', to: 'uploader#submit' |
4 | 4 | ||
@@ -10,5 +10,4 @@ Pokeviewer::Engine.routes.draw do | |||
10 | end | 10 | end |
11 | 11 | ||
12 | resources :pokedex, only: [:index] | 12 | resources :pokedex, only: [:index] |
13 | |||
14 | end | 13 | end |