mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
refactored comments_controller tests; fixed access to Administration link into user_menu view
This commit is contained in:
parent
a9a43d726f
commit
37339dccc1
4 changed files with 19 additions and 42 deletions
|
|
@ -21,10 +21,7 @@
|
|||
= link_to(destroy_user_session_path, :method=>'delete') do
|
||||
%span.fa.fa-minus
|
||||
Sign out
|
||||
- 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 })
|
||||
- if can? :access, Admin
|
||||
%li.divider
|
||||
%li
|
||||
= link_to(admin_conference_index_path()) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue