routes.rb 328 B

12345678910
  1. Rails.application.routes.draw do
  2. devise_for :users, controllers: { registrations: "registrations", passwords: "passwords" }
  3. # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  4. root to: "welcome#root"
  5. resources :pokemon
  6. post 'pokemon/upload', to: 'pokemon#upload'
  7. end