Sha256: d8d0d16713ee3ad0de6c9b741d0fafaabd4afbfa9b0be5b84ac0f046af345add
Contents?: true
Size: 673 Bytes
Versions: 13
Compression:
Stored size: 673 Bytes
Contents
# frozen_string_literal: true # Copyright (c) 2008-2013 Michael Dvorkin and contributors. # # Fat Free CRM is freely distributable under the terms of MIT license. # See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ module AddressesHelper # Sets up new address when used in forms. #---------------------------------------------------------------------------- def get_address(asset, type) asset.send("build_#{type}".to_sym) if asset.send(type.to_sym).nil? asset.send(type.to_sym) end def priority_countries Setting[:priority_countries] end end
Version data entries
13 entries across 13 versions & 1 rubygems