Sha256: 96393d2fbd11801599ced3acd9fe0af4db7efea69a276dcf3e587caca0fc3897
Contents?: true
Size: 646 Bytes
Versions: 11
Compression:
Stored size: 646 Bytes
Contents
# 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
11 entries across 11 versions & 1 rubygems