mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
fixed Administration link in user_menu dropdown
This commit is contained in:
parent
bcd8e41670
commit
f3fa68e371
1 changed files with 4 additions and 1 deletions
|
|
@ -21,7 +21,10 @@
|
|||
= link_to(destroy_user_session_path, :method=>'delete') do
|
||||
%span.fa.fa-minus
|
||||
Sign out
|
||||
- if can? :manage, Conference
|
||||
- if current_user.is_admin || (current_user.has_any_role? :admin, { :name => :organizer, :resource => :any },
|
||||
{ :name => :cfp, :resource => :any },
|
||||
{ :name => :info_desk, :resource => :any },
|
||||
{ :name => :volunteer_coordinator, :resource => :any })
|
||||
%li.divider
|
||||
%li
|
||||
= link_to(admin_conference_index_path()) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue