Commit graph

3 commits

Author SHA1 Message Date
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
Ana
4abc60424d Several schedules in the backend && routes changed
- Introduce plural resources for Schedule in routes.rb
- Introduce #index and #create actions for ScheduleController
- Make it possible to set a schedule as selected_schedule
2016-08-02 00:04:30 +02:00
Ana
17bfb02d27 javascript for the admin schedule moved to a .js
Inline javascript for the admin schedule moved to a dedicated .js file.
2016-08-01 22:36:08 +02:00