Fix vulnerable.

This commit is contained in:
BoHung Chiu 2022-11-01 21:09:49 +08:00
parent c0931e7f5f
commit 86f0d507bf
1 changed files with 1 additions and 1 deletions

View File

@ -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