diff --git a/spec/dummy/config/routes.rb b/spec/dummy/config/routes.rb index 2d3d48b0..fe85d82c 100644 --- a/spec/dummy/config/routes.rb +++ b/spec/dummy/config/routes.rb @@ -5,20 +5,20 @@ scope '/api' do resources :users do collection do - post :create_route + post :create_route => 'users#create_route' end end resources :concerns, :only => [:index, :show] namespace :files do - get '/*file_path', to: :download, format: false + get '/*file_path' => 'files#download', format: false end resources :twitter_example do collection do - get :lookup + get :lookup => 'twitter_example#lookup' get 'profile_image/:screen_name' => 'twitter_example#profile_image' - get :search - get :search - get :contributors + get :search => 'twitter_example#search' + get :search => 'twitter_example#search' + get :contributors => 'twitter_example#contributors' end end end