lib/feature_gate/engine.rb in feature_gate-0.0.9 vs lib/feature_gate/engine.rb in feature_gate-0.1.0
- old
+ new
@@ -1,4 +1,9 @@
module FeatureGate
class Engine < Rails::Engine
+ initialize 'feature_gate.load_app_instance_data' do |app|
+ FeatureGate.setup do |config|
+ config.app_root = app.root
+ end
+ end
end
end