Sha256: 48a3791755957e2467354e2ab07c146ab74edaf082e52a2881b9eb61d2875ed6
Contents?: true
Size: 341 Bytes
Versions: 1
Compression:
Stored size: 341 Bytes
Contents
require 'rails' module AppConfig class Railtie < Rails::Railtie config.before_configuration do AppConfig.configure do |config| config.config_file = Rails.root.join("config", "config.yml") config.environment = Rails.env config.auto_reload = true if Rails.env == "development" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yappconfig-0.3.0 | lib/app-config/railtie.rb |