mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Cache the schedule page, fix empty rooms
This commit is contained in:
parent
f0ff5544c3
commit
2d79e8e692
4 changed files with 10 additions and 8 deletions
|
|
@ -1,7 +1,8 @@
|
|||
class ScheduleController < ApplicationController
|
||||
|
||||
layout "application"
|
||||
|
||||
caches_page :index
|
||||
|
||||
def index
|
||||
@conference = Conference.find_all_by_short_title(params[:conference_id]).first
|
||||
@events = @conference.events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue