Cache the schedule page, fix empty rooms

This commit is contained in:
Henne Vogelsang 2013-06-19 20:56:37 +02:00 committed by Henne Vogelsang
parent f0ff5544c3
commit 2d79e8e692
4 changed files with 10 additions and 8 deletions

View file

@ -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