All events takes you to the current day

This commit is contained in:
Ana 2016-07-01 11:41:16 +02:00
parent 6d9eabcc0e
commit 39c4261859
3 changed files with 14 additions and 0 deletions

View file

@ -31,6 +31,9 @@ class ConferenceController < ApplicationController
@scheduled_events = @conference.program.events.scheduled
@unscheduled_events = @conference.program.events.unscheduled
day = @conference.current_conference_day
@tag = day.strftime('%Y-%m-%d') if day
end
private