From e244e592ede64f3fc089a73b111e0f38e18183b2 Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Fri, 21 Apr 2017 19:33:57 +0200 Subject: [PATCH] fixed routing --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 729537b..702a128 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -24,7 +24,7 @@ Rails.application.routes.draw do get '/cities_autocomplete', to: 'cities_autocomplete#index', as: :cities_autocomplete scope '/:locale', locale: /de|it|fr/ do get '/', to: 'supporters#new' - resources :supporters + resources :supporters, only: [:new, :create] resource :publicity get '/thanks', to: 'pages#thanks', as: :thanks end