diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-15 13:31:36 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-15 13:31:36 -0400 |
commit | 9634eb18dd862d98d722204639078854b51ae367 (patch) | |
tree | a36ea0c96b44f1e5a24f59f4ad10d257cdd8181e /config/routes.rb | |
parent | 4a209e559e727b6ff395ae3f9d327921ff2f03d2 (diff) | |
download | pokeviewer-9634eb18dd862d98d722204639078854b51ae367.tar.gz pokeviewer-9634eb18dd862d98d722204639078854b51ae367.tar.bz2 pokeviewer-9634eb18dd862d98d722204639078854b51ae367.zip |
Changed trainer list to root route
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 3bbb92b..438ac39 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
@@ -1,6 +1,7 @@ | |||
1 | Pokeviewer::Engine.routes.draw do | 1 | Pokeviewer::Engine.routes.draw do |
2 | get '/', to: 'pokemon#index' | ||
2 | post '/', to: 'uploader#submit' | 3 | post '/', to: 'uploader#submit' |
3 | 4 | ||
4 | resources :pokemon, only: [:index, :show] | 5 | resources :pokemon, only: [:show] |
5 | 6 | ||
6 | end | 7 | end |