about summary refs log tree commit diff stats
path: root/config/routes.rb
diff options
context:
space:
mode:
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