about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 2d59eea..fc93b1c 100644 --- a/config/routes.rb +++ b/config/routes.rb
@@ -2,7 +2,11 @@ Pokeviewer::Engine.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
5 resources :pokemon, only: [:show] 5 resources :pokemon, only: [:show] do
6 member do
7 get 'embed'
8 end
9 end
6 10
7 resources :pokedex, only: [:index] 11 resources :pokedex, only: [:index]
8 12