All events grouped by date and time

The events are ordered by date and time in the all events section of the schedule. The event schdule definition in program has been changed to order the events.
This commit is contained in:
Ana 2016-06-10 22:39:06 +02:00
parent 7a95c43a57
commit 69043e1549
6 changed files with 97 additions and 20 deletions

View file

@ -73,7 +73,7 @@ class Event < ActiveRecord::Base
# ====Returns
# * +true+ or +false+
def scheduled?
room && start_time ? true : false
room.present? && start_time.present?
end
def registration_possible?