changed #signed_in_with_roles(user) in ability.rb model

This commit is contained in:
raluka 2015-09-01 13:01:57 +02:00
parent df29484317
commit 52a503afd2
4 changed files with 7 additions and 9 deletions

View file

@ -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"}