orbit-4-2/config/initializers/store.rb

2 lines
146 B
Ruby

data = File.open(File.join(Rails.root, 'config', 'store_config.yml')).read
STORE_CONFIG = YAML::load(ERB.new(data).result(binding)).symbolize_keys