Hide ordergroup link for non ordergroup members.
This commit is contained in:
parent
c7e37fc7b2
commit
ad94006978
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
{ :name => "Start", :url => root_path, :active => ["index", "home"],
|
{ :name => "Start", :url => root_path, :active => ["index", "home"],
|
||||||
:subnav => [
|
:subnav => [
|
||||||
{ :name => "Meine Aufgaben", :url => "/home/tasks" },
|
{ :name => "Meine Aufgaben", :url => "/home/tasks" },
|
||||||
{ :name => "Meine Bestellgruppe", :url => "/home/ordergroup"},
|
{ :name => "Meine Bestellgruppe", :url => "/home/ordergroup", :access_denied? => (!u.ordergroup)},
|
||||||
{ :name => "Mein Profil", :url => "/home/profile"}
|
{ :name => "Mein Profil", :url => "/home/profile"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue