mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
First version of the non-js schedule. Removed the assets from version control.
This commit is contained in:
parent
73013bd3e6
commit
b2f8cfbec3
87 changed files with 127 additions and 200 deletions
|
|
@ -3,5 +3,4 @@ class HomeController < ApplicationController
|
|||
@today = Date.current
|
||||
@conferences = Conference.where("start_date >= ?", @today)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
12
app/controllers/schedule_controller.rb
Normal file
12
app/controllers/schedule_controller.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
class ScheduleController < ApplicationController
|
||||
|
||||
layout "application"
|
||||
|
||||
def index
|
||||
@conference = Conference.find_all_by_short_title(params[:conference_id]).first
|
||||
@events = @conference.events
|
||||
@dates = @conference.start_date..@conference.end_date
|
||||
@rooms = @conference.rooms
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue