mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
changed #signed_in_with_roles(user) in ability.rb model
This commit is contained in:
parent
df29484317
commit
52a503afd2
4 changed files with 7 additions and 9 deletions
|
|
@ -25,7 +25,7 @@
|
|||
%b.caret
|
||||
%ul.dropdown-menu
|
||||
= render 'layouts/user_menu'
|
||||
- if can_manage_comments(@conference)
|
||||
- if can? :index, Comment
|
||||
%ul.nav.navbar-nav.navbar-right
|
||||
%li.dropdown
|
||||
%a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#", id: "unread-comments-preview"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue