mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
show current day's schedule
This commit is contained in:
parent
f905bb8f8f
commit
adb04ab82e
2 changed files with 5 additions and 1 deletions
|
|
@ -7,6 +7,10 @@ class ScheduleController < ApplicationController
|
|||
@rooms = @conference.rooms
|
||||
@events = @conference.events
|
||||
@dates = @conference.start_date..@conference.end_date
|
||||
|
||||
if @dates === Date.current
|
||||
@today = Date.current.strftime("%Y-%m-%d")
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue