fixed routing and position

This commit is contained in:
2017-11-12 14:05:45 +01:00
parent 7bd9a0ab22
commit 94d2d733e9
6 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,4 @@
Rails.application.routes.draw do
resources :greendays
devise_for :supporters
root to: 'supporters#new'
@@ -12,6 +11,7 @@ Rails.application.routes.draw do
end
localized do
resources :greendays
get '/initiative_text', to: 'pages#show', as: :initiative_text, page: 'initiative_text'
get '/arguments', to: 'pages#show', as: :arguments, page: 'arguments'
get '/faq', to: 'pages#show', as: :faq, page: 'faq'