Module: SpreeAddressFormatI18n::PermittedAttributesDecorator

Defined in:
app/models/spree_address_format_i18n/permitted_attributes_decorator.rb

Class Method Summary collapse

Class Method Details

.prepended(base) ⇒ Object



3
4
5
# File 'app/models/spree_address_format_i18n/permitted_attributes_decorator.rb', line 3

def self.prepended(base)
  base.address_attributes.push(:firstname_kana, :lastname_kana, :company_kana, :fax)
end