Commit graph

2 commits

Author SHA1 Message Date
Ana
47e316cddd 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
2016-08-02 00:07:14 +02:00
Ana
af75334353 Do not use JS to initialize the schedule
- Only use JS for the drag&drop functionality and to the set/alter the time and rooms of the EventSchedule object.

- Introduce has_many :events, through: :event_schedules association to get unscheduled event easily
2016-08-02 00:06:23 +02:00