fix Hakiri security issue
https://hakiri.io/github/openSUSE/osem/master/b1624a681298ee085f4d12a4aa16081dbb7545ed
This commit is contained in:
parent
b1624a6812
commit
d2b5ec1770
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ class ConferencesController < ApplicationController
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@conference = if params[:id]
|
@conference = if params[:id]
|
||||||
Conference.find_by_short_title(params[:id])
|
Conference.find_by(short_title: params[:id])
|
||||||
else
|
else
|
||||||
load_conference_by_domain
|
load_conference_by_domain
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue