Implements program section for unscheduled events

close #610
This commit is contained in:
chrisbr 2015-03-09 15:31:06 +01:00
parent 0894d9ec29
commit 232cc249d4
11 changed files with 193 additions and 147 deletions

View file

@ -44,6 +44,10 @@ class Conference < ActiveRecord::Base
where(state: :confirmed)
end
def scheduled
where.not(start_time: nil)
end
def highlights
where(state: :confirmed, is_highlight: true)
end