diff --git a/app/controllers/users/authentication_applies_controller.rb b/app/controllers/users/authentication_applies_controller.rb index 6a2c20893..8ded7be8b 100644 --- a/app/controllers/users/authentication_applies_controller.rb +++ b/app/controllers/users/authentication_applies_controller.rb @@ -17,6 +17,6 @@ class Users::AuthenticationAppliesController < Users::BaseAccountController private def create_params - params.permit(:name, :gender, :id_number, :upload_image) + params.permit(:name, :gender, :id_number, :upload_image, :attachment_ids) end end \ No newline at end of file diff --git a/app/controllers/users/professional_auth_applies_controller.rb b/app/controllers/users/professional_auth_applies_controller.rb index 5a9d305ff..ea546f047 100644 --- a/app/controllers/users/professional_auth_applies_controller.rb +++ b/app/controllers/users/professional_auth_applies_controller.rb @@ -17,6 +17,6 @@ class Users::ProfessionalAuthAppliesController < Users::BaseAccountController private def create_params - params.permit(:school_id, :department_id, :identity, :extra, :upload_image) + params.permit(:school_id, :department_id, :identity, :extra, :upload_image, :attachment_ids) end end \ No newline at end of file