Sha256: 76fc0809826ab474daa14174727aac2da92537f72ea154610e893ea984bb8725
Contents?: true
Size: 297 Bytes
Versions: 1
Compression:
Stored size: 297 Bytes
Contents
# load settings config_file = File.join(Rails.root, 'config', 'commerce.yml') Forgeos::CONFIG = (File.exist?(config_file) ? YAML.load_file(config_file).symbolize_keys : {}) if not Forgeos::CONFIG[:multilang] and locale = Forgeos::CONFIG[:default_locale] I18n.available_locales = locale.to_a end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
forgeos_commerce_front-1.9.0 | config/initializers/commerce_front.rb |