removed statements

This commit is contained in:
2019-02-08 18:30:49 +01:00
parent 13a27f8529
commit 6d3e30faff
2 changed files with 0 additions and 5 deletions
-4
View File
@@ -63,10 +63,6 @@ SimpleNavigation::Configuration.run do |navigation|
primary.item :home, I18n.t('.shared.topnavigation.support'), "/#{I18n.locale}"
end
primary.item :initiative, I18n.t('.shared.topnavigation.initiative'), initiative_text_path
primary.item :statements, I18n.t('.shared.topnavigation.statements'), statements_path do |statements|
statements.item :new_statement, I18n.t('.supporters.publicity.renew'), new_publicity_path
statements.item :new_statement, 'Statement Administration', admin_publicities_path if supporter_signed_in? && current_supporter.admin?
end
if supporter_signed_in?
primary.item :home, I18n.t('.shared.topnavigation.my_account'), "/#{I18n.locale}" do |my_account|
my_account.item :edit_account, I18n.t('.supporters.new.edit'), edit_supporter_registration_path()
-1
View File
@@ -15,7 +15,6 @@ Rails.application.routes.draw do
get '/initiative_text', to: 'pages#show', as: :initiative_text, page: 'initiative_text'
get '/terms_and_conditions', to: 'pages#show', as: :terms_and_conditions, page: 'terms_and_conditions'
get '/donation', to: 'pages#show', as: :donation, page: 'donation'
get '/statements', to: 'pages#show', as: :statements, page: 'statements'
end
get '/cities_autocomplete', to: 'cities_autocomplete#index', as: :cities_autocomplete