Fix code style
This commit is contained in:
parent
106fb396cd
commit
6f77301c8f
1 changed files with 5 additions and 26 deletions
|
@ -15,32 +15,11 @@ class Settings::PassportPolicy < ApplicationPolicy
|
||||||
|
|
||||||
def permitted_attributes_for_create
|
def permitted_attributes_for_create
|
||||||
%i[
|
%i[
|
||||||
last_name
|
last_name first_name middle_name sex date_of_birth place_of_birth
|
||||||
first_name
|
series number issued_by unit_code date_of_issue zip_code
|
||||||
middle_name
|
town_type town_name settlement_type settlement_name district_type
|
||||||
sex
|
district_name street_type street_name residence_type residence_name
|
||||||
date_of_birth
|
building_type building_name apartment_type apartment_name
|
||||||
place_of_birth
|
|
||||||
series
|
|
||||||
number
|
|
||||||
issued_by
|
|
||||||
unit_code
|
|
||||||
date_of_issue
|
|
||||||
zip_code
|
|
||||||
town_type
|
|
||||||
town_name
|
|
||||||
settlement_type
|
|
||||||
settlement_name
|
|
||||||
district_type
|
|
||||||
district_name
|
|
||||||
street_type
|
|
||||||
street_name
|
|
||||||
residence_type
|
|
||||||
residence_name
|
|
||||||
building_type
|
|
||||||
building_name
|
|
||||||
apartment_type
|
|
||||||
apartment_name
|
|
||||||
].freeze
|
].freeze
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Reference in a new issue