Remove accidental testing usage of tomorrow
This commit is contained in:
parent
eceaf91539
commit
e5efd3de75
@ -8,7 +8,7 @@ class AttendanceTrackerController < ApplicationController
|
||||
|
||||
def today
|
||||
@courses = Course.active.sort_by(&:title)
|
||||
@date = Date.tomorrow
|
||||
@date = Date.today
|
||||
@current_lecture = get_current_lecture
|
||||
@lectures = @courses.flat_map { |course| course.lectures.filter { |a| a.start_time.to_date == @date } }.sort_by { |l| l.start_time }
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user