about summary refs log tree commit diff stats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-10-15 13:31:36 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-10-15 13:31:36 -0400
commit9634eb18dd862d98d722204639078854b51ae367 (patch)
treea36ea0c96b44f1e5a24f59f4ad10d257cdd8181e /config/routes.rb
parent4a209e559e727b6ff395ae3f9d327921ff2f03d2 (diff)
downloadpokeviewer-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.rb3
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 @@
1Pokeviewer::Engine.routes.draw do 1Pokeviewer::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
6end 7end