Add guardian email field for minor appearance release signer #14

Closed
bilal.catic wants to merge 4 commits from add-guardian-email-field-for-minor-appearance-release-signer into master
Showing only changes of commit 867260514e - Show all commits

View File

@@ -263,7 +263,10 @@ RSpec.describe AppearanceReleasesController, tye: :controller do
end
def minor_appearance_release_params
attributes_for(:appearance_release, :non_native, :minor_with_guardian_photo).except(:contract).merge(contract_param, exploitable_rights_params)
attributes_for(:appearance_release, :non_native, :minor_with_guardian_photo)
.except(:contract)
.except(:guardian_email)
.merge(contract_param, exploitable_rights_params)
end
def exploitable_rights_params