Unscheduled events added to all events

Unscheduled events added to all events of the schedule
This commit is contained in:
Ana 2016-06-11 00:43:45 +02:00
parent 69043e1549
commit cc031b9f3a
4 changed files with 27 additions and 0 deletions

View file

@ -22,6 +22,7 @@ class ConferenceController < ApplicationController
@conf_period = conf_end - @conf_start
@scheduled_events = @conference.program.events.scheduled
@unscheduled_events = @conference.program.events.unscheduled
if @dates == Date.current
@today = Date.current.strftime('%Y-%m-%d')