use guardian_address_street1 for old guardian_address

This commit is contained in:
bilal
2020-06-17 09:44:34 +02:00
parent d165f5fd36
commit ba0efd7233
10 changed files with 5 additions and 28 deletions

View File

@@ -121,7 +121,6 @@ describe Public::AppearanceReleasesController do
def minor_appearance_release_params(with_guardian_photo = true)
minor_type = with_guardian_photo ? :minor_with_guardian_photo : :minor
attributes_for(:appearance_release, minor_type)
.except(:guardian_address_old)
.merge(signature_param, guardian_address_params)
end