destructure guardian address field for appearance release #17

Closed
bilal.catic wants to merge 5 commits from destructure-appearance-release-guardian-address-field into master
Showing only changes of commit 13084cc4a3 - Show all commits

View File

@@ -265,6 +265,9 @@ RSpec.describe AppearanceReleasesController, tye: :controller do
def minor_appearance_release_params
attributes_for(:appearance_release, :non_native, :minor_with_guardian_photo)
.except(:contract)
.except(:guardian_address_street2).except(:guardian_address_city)
.except(:guardian_address_state).except(:guardian_address_zip)
.except(:guardian_address_country)
.merge(contract_param, exploitable_rights_params)
end