Integrate the schedule in the admin interface
Integrate the schedule in the admin interface while adapting it to the new associations and models.
This commit is contained in:
parent
3bf42a3cc4
commit
8f3dcda2f7
32 changed files with 291 additions and 10074 deletions
|
|
@ -31,8 +31,8 @@ class Program < ActiveRecord::Base
|
|||
joins(:event_schedules).where('event_schedules.schedule_id = ? AND event_schedules.start_time IS NOT NULL AND event_schedules.room_id IS NOT NULL', schedule_id)
|
||||
end
|
||||
|
||||
def unscheduled
|
||||
select(&:unscheduled?)
|
||||
def unscheduled(schedule_id=nil)
|
||||
select{ |e| e.unscheduled?(schedule_id) }
|
||||
end
|
||||
|
||||
def highlights
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue