created can_manage_comments helper for rendering button

This commit is contained in:
raluka 2015-08-26 22:09:36 +02:00
parent 84cd952b57
commit a3b6f204cb
4 changed files with 8 additions and 4 deletions

View file

@ -29,7 +29,7 @@ class User < ActiveRecord::Base
devise(*devise_modules)
has_and_belongs_to_many :roles
has_and_belongs_to_many :roles
has_many :openids
attr_accessible :email, :password, :password_confirmation, :remember_me, :role_id, :role_ids,