Add pickups role
This commit is contained in:
parent
4c41a99fde
commit
ac11ba1cc1
14 changed files with 42 additions and 15 deletions
|
|
@ -24,7 +24,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
|||
subnav.item :ordering, I18n.t('navigation.orders.ordering'), group_orders_path
|
||||
subnav.item :ordering_archive, I18n.t('navigation.orders.archive'), archive_group_orders_path
|
||||
subnav.item :orders, I18n.t('navigation.orders.manage'), orders_path, if: Proc.new { current_user.role_orders? }
|
||||
subnav.item :pickups, I18n.t('navigation.orders.pickups'), pickups_path, if: Proc.new { current_user.role_orders? }
|
||||
subnav.item :pickups, I18n.t('navigation.orders.pickups'), pickups_path, if: Proc.new { current_user.role_pickups? }
|
||||
end
|
||||
|
||||
primary.item :articles, I18n.t('navigation.articles.title'), '#',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue