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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue