Sha256: 9311f4fe9ce976ce3756acc03ecb822589ce53bfc1eb041d2018950cf85634e2

Contents?: true

Size: 249 Bytes

Versions: 4

Compression:

Stored size: 249 Bytes

Contents

APP_CONFIG = {development: {}, test: {}, staging: {}, production: {}} if defined?(APP_CONFIG) == false

if File.exists?("#{Rails.root}/config/config.yml")
  APP_CONFIG = YAML.load_file("#{Rails.root}/config/config.yml")[Rails.env].symbolize_keys
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_gallery-0.2.1 config/initializers/_load_config.rb
ruby_gallery-0.1.9 config/initializers/_load_config.rb
ruby_gallery-0.1.8 config/initializers/_load_config.rb
ruby_gallery-0.1.7 config/initializers/_load_config.rb