mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 13:44:09 +00:00
Fix Hakiri issues
This commit is contained in:
parent
e41fa41acf
commit
c2a1ff1ffc
5 changed files with 9 additions and 7 deletions
|
|
@ -3,7 +3,9 @@ class ScheduleController < ApplicationController
|
|||
layout "application"
|
||||
|
||||
def index
|
||||
@conference = Conference.includes(:rooms, events: [:speakers, :track, :event_type]).where("conferences.short_title" => params[:conference_id]).first
|
||||
@conference = Conference.
|
||||
includes(:rooms, events: [:speakers, :track, :event_type]).
|
||||
where(conferences: { short_title: params[:conference_id] }).first
|
||||
@rooms = @conference.rooms
|
||||
@events = @conference.events
|
||||
@dates = @conference.start_date..@conference.end_date
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue