Sha256: d5dcdb9b3976fc7a1e7d9c9f31e5f71db0304d36f19b7bb493764f58e9b67926
Contents?: true
Size: 351 Bytes
Versions: 2
Compression:
Stored size: 351 Bytes
Contents
module Ambience class Railtie < Rails::Railtie initializer 'ambience.railtie', :before => :load_environment_config do |app| default_config_file = Rails.root.join("config", "ambience.yml") if File.exist?(default_config_file) ::AppConfig = Ambience.create(default_config_file, Rails.env).to_mash end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ambience-2.0.0 | lib/ambience/railtie.rb |
ambience-1.0.0 | lib/ambience/railtie.rb |