From 780eb5c51dccdcfc779c0d0afb8bbfacf20fb69c Mon Sep 17 00:00:00 2001 From: James Mason Date: Mon, 24 Sep 2018 14:49:13 -0700 Subject: [PATCH] Fix up logical error in schedule --- app/controllers/schedules_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/schedules_controller.rb b/app/controllers/schedules_controller.rb index 9bf1afd8..453e38c9 100644 --- a/app/controllers/schedules_controller.rb +++ b/app/controllers/schedules_controller.rb @@ -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