removed some content

This commit is contained in:
2019-01-18 20:18:33 +01:00
parent aab4141e5e
commit 45050f1c67
7 changed files with 8 additions and 38 deletions
-2
View File
@@ -71,8 +71,6 @@ SimpleNavigation::Configuration.run do |navigation|
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
primary.item :donation, I18n.t('donation'), donation_path
primary.item :blog, 'Blog', 'http://blog.cannabis-initiative.ch/', link_html: { target: '_blank'}
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()
-2
View File
@@ -16,8 +16,6 @@ Rails.application.routes.draw do
get '/arguments', to: 'pages#show', as: :arguments, page: 'arguments'
get '/faq', to: 'pages#show', as: :faq, page: 'faq'
get '/terms_and_conditions', to: 'pages#show', as: :terms_and_conditions, page: 'terms_and_conditions'
get '/sponsoring', to: 'pages#show', as: :sponsoring, page: 'sponsoring'
get '/donation', to: 'pages#show', as: :donation, page: 'donation'
get '/numbers', to: 'pages#show', as: :numbers, page: 'numbers'
get '/statements', to: 'pages#show', as: :statements, page: 'statements'
end