diff options
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 |