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