Refactor contact model

#251
This commit is contained in:
Artur Beljajev 2016-12-02 18:38:16 +02:00
parent e712e60686
commit 07f49d8ca6
2 changed files with 5 additions and 5 deletions

View file

@ -262,8 +262,8 @@ class Contact < ActiveRecord::Base
Setting.address_processing
end
def address_attributes
%i(
def address_attribute_names
%w(
city
street
zip