diff --git a/config/navigation.rb b/config/navigation.rb index 1571aed..ea2b26e 100644 --- a/config/navigation.rb +++ b/config/navigation.rb @@ -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() diff --git a/config/routes.rb b/config/routes.rb index 778dfe5..3512ba3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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