created comments with FactoryGirl

This commit is contained in:
raluka 2015-08-25 14:41:09 +02:00
parent b6d726d40e
commit eab2894fad
5 changed files with 17 additions and 3 deletions

View file

@ -25,7 +25,7 @@
%b.caret
%ul.dropdown-menu
= render 'layouts/user_menu'
- if can? :manage, Comment
- if can? :read, Comment
%ul.nav.navbar-nav.navbar-right
%li.dropdown
%a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#", id: "unread-comments-preview"}