Fix up logical error in schedule

This commit is contained in:
James Mason 2018-09-24 14:49:13 -07:00
parent d61b4253df
commit de8650bb30
No known key found for this signature in database
GPG key ID: 1B3951886C449023

View file

@ -33,7 +33,7 @@ class SchedulesController < ApplicationController
# the schedule takes you to today if it is a date of the schedule
@current_day = @conference.current_conference_day
@day = @current_day.present? ? @current_day : @dates.first
unless @current_day
if @current_day
# the schedule takes you to the current time if it is beetween the start and the end time.
@hour_column = @conference.hours_from_start_time(@conf_start, @conference.end_hour)
end