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