Introduce an Admin::EventScheduleController
- move SchedulesController#update action - split it into an #create/#update and #destroy action and use these actions in the JS code
This commit is contained in:
parent
af75334353
commit
47e316cddd
8 changed files with 89 additions and 75 deletions
|
|
@ -144,6 +144,7 @@ class Ability
|
|||
can :manage, Vday, conference_id: conf_ids_for_organizer
|
||||
can :manage, Program, conference_id: conf_ids_for_organizer
|
||||
can :manage, Schedule, program: { conference_id: conf_ids_for_organizer }
|
||||
can :manage, EventSchedule, schedule: { program: { conference_id: conf_ids_for_organizer } }
|
||||
can :manage, Cfp, program: { conference_id: conf_ids_for_organizer}
|
||||
can :manage, Event, program: { conference_id: conf_ids_for_organizer}
|
||||
can :manage, EventType, program: { conference_id: conf_ids_for_organizer}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue