From 87bbb59250d8acec5dc8abde1c84066614697786 Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Thu, 21 Apr 2016 21:29:52 +0200 Subject: [PATCH] fixed routing --- config/routes.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index e39ce37..4f46925 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,13 +6,11 @@ Rails.application.routes.draw do resources :supporters, only: :index end - + get '/cities_autocomplete', to: 'cities_autocomplete#index', as: :cities_autocomplete scope '/:locale' do get '/', to: 'supporters#new' resources :supporters get '/thanks', to: 'pages#thanks', as: :thanks end - - get '/cities_autocomplete', to: 'cities_autocomplete#index', as: :cities_autocomplete end