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

@ -1,7 +1,9 @@
module Admin
class CommentsController < Admin::BaseController
load_and_authorize_resource :conference, find_by: :short_title
load_and_authorize_resource
def index
@ordered_events = Event.order(:title).all
end