Commit 84cf75eaee599a16dcb74713b60e65400eaa6fd7
1 parent
6a762aec
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
removing state and city from xss
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/person.rb
... | ... | @@ -221,7 +221,7 @@ class Person < Profile |
221 | 221 | contact_informatioin |
222 | 222 | ] |
223 | 223 | |
224 | - xss_terminate :only => [ :custom_footer, :custom_header, :description, :nickname, :sex, :nationality, :country, :state, :city, :district, :zip_code, :address, :address_reference, :cell_phone, :comercial_phone, :personal_website, :jabber_id, :schooling, :formation, :custom_formation, :area_of_study, :custom_area_of_study, :professional_activity, :organization, :organization_website, :contact_phone, :contact_information ], :with => 'white_list' | |
224 | + xss_terminate :only => [ :custom_footer, :custom_header, :description, :nickname, :sex, :nationality, :country, :district, :zip_code, :address, :address_reference, :cell_phone, :comercial_phone, :personal_website, :jabber_id, :schooling, :formation, :custom_formation, :area_of_study, :custom_area_of_study, :professional_activity, :organization, :organization_website, :contact_phone, :contact_information ], :with => 'white_list' | |
225 | 225 | |
226 | 226 | validates_multiparameter_assignments |
227 | 227 | ... | ... |