fix: rubocop violation
This commit is contained in:
parent
20dc8b8b82
commit
2151835afb
|
@ -12,7 +12,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
|||
primary.item :dashboard_nav_item, I18n.t('navigation.dashboard'), root_path(anchor: '')
|
||||
|
||||
primary.item :foodcoop, I18n.t('navigation.foodcoop'), '#' do |subnav|
|
||||
subnav.item :members, I18n.t('navigation.members'), foodcoop_users_path, unless: Proc.new { FoodsoftConfig[:disable_members_overview] }
|
||||
subnav.item :members, I18n.t('navigation.members'), foodcoop_users_path, unless: proc { FoodsoftConfig[:disable_members_overview] }
|
||||
subnav.item :workgroups, I18n.t('navigation.workgroups'), foodcoop_workgroups_path
|
||||
subnav.item :ordergroups, I18n.t('navigation.ordergroups'), foodcoop_ordergroups_path
|
||||
subnav.item :tasks, I18n.t('navigation.tasks'), tasks_path
|
||||
|
|
Loading…
Reference in New Issue