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
|
||||
%i[
|
||||
last_name
|
||||
first_name
|
||||
middle_name
|
||||
sex
|
||||
date_of_birth
|
||||
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
|
||||
last_name first_name middle_name sex date_of_birth 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
|
||||
end
|
||||
end
|
||||
|
|
Reference in a new issue