Fix vulnerable.
This commit is contained in:
parent
c0931e7f5f
commit
86f0d507bf
|
@ -200,7 +200,7 @@ class Admin::ExperiencesController < OrbitMemberController
|
||||||
end
|
end
|
||||||
|
|
||||||
def find_experience
|
def find_experience
|
||||||
@experience = Experience.find_by(id: params[:id])
|
@experience = Experience.find_by(id: params[:id].to_s)
|
||||||
end
|
end
|
||||||
|
|
||||||
def experience_params
|
def experience_params
|
||||||
|
|
Loading…
Reference in New Issue