Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html root to: "pokemon#index" resources :pokemon post 'pokemon/upload', to: 'pokemon#upload' end