Sha256: 5e5c7d9b8593ac5965c86061278e6518959035f5479095c7966d1314bf17a12e

Contents?: true

Size: 245 Bytes

Versions: 7

Compression:

Stored size: 245 Bytes

Contents

module Spree
  BaseHelper.module_eval do

    def countrylist
      @zonedCountrylist ||= Country.order :name
    end

    def hlpAvailLangs(country)
      Rails.configuration.availableLanguages[country] || [["English", :en]]
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_zoned-0.5.38 app/helpers/spree/base_helper_decorator.rb
spree_zoned-0.5.37 app/helpers/spree/base_helper_decorator.rb
spree_zoned-0.5.36 app/helpers/spree/base_helper_decorator.rb
spree_zoned-0.5.35 app/helpers/spree/base_helper_decorator.rb
spree_zoned-0.5.34 app/helpers/spree/base_helper_decorator.rb
spree_zoned-0.5.33 app/helpers/spree/base_helper_decorator.rb
spree_zoned-0.5.32 app/helpers/spree/base_helper_decorator.rb