mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 21:24:05 +00:00
Fix Hakiri issues
This commit is contained in:
parent
e41fa41acf
commit
c2a1ff1ffc
5 changed files with 9 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ module Api
|
|||
tracks = Track.all
|
||||
else
|
||||
tracks = Track.joins(:conference)
|
||||
tracks = tracks.where("conferences.guid" => params[:conference_id])
|
||||
tracks = tracks.where(conferences: { guid: params[:conference_id] })
|
||||
end
|
||||
respond_with tracks
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue