about summary refs log tree commit diff stats
path: root/config/routes.rb
blob: 2d59eea4170458026d0c04a89b2177b347b74d14 (plain) (blame)
1
2
3
4
5
6
7
8
9
Pokeviewer::Engine.routes.draw do
  get '/', to: 'pokemon#index'
  post '/', to: 'uploader#submit'

  resources :pokemon, only: [:show]

  resources :pokedex, only: [:index]

end