mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 21:24:05 +00:00
Implement role authorization
This commit is contained in:
parent
6755328c4c
commit
e2fb434dc7
122 changed files with 1386 additions and 751 deletions
|
|
@ -1,6 +1,10 @@
|
|||
class ScheduleController < ApplicationController
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
authorize_resource class: false
|
||||
>>>>>>> authorization with cancancan
|
||||
layout "application"
|
||||
|
||||
|
||||
def index
|
||||
@conference = Conference.includes(:rooms, events: [:speakers, :track, :event_type]).where("conferences.short_title" => params[:conference_id]).first
|
||||
@rooms = @conference.rooms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue