aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2012-11-21 00:48:21 +0530
committerArun Agrawal <arunagw@gmail.com>2012-11-21 00:48:21 +0530
commit4a7a858ae70227a2ca6559fa2f0287f71859361b (patch)
tree39ce8f4d66313985d92c0ee5c94ed214edf4ea37 /railties/lib
parent3a890681fad8218305585036abed6d7463a44e41 (diff)
downloadrails-4a7a858ae70227a2ca6559fa2f0287f71859361b.tar.gz
rails-4a7a858ae70227a2ca6559fa2f0287f71859361b.tar.bz2
rails-4a7a858ae70227a2ca6559fa2f0287f71859361b.zip
Initialize accessors to remove some warnings in Ruby 2.0
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/engine.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb
index 2c2bb1c714..f6721c617f 100644
--- a/railties/lib/rails/engine.rb
+++ b/railties/lib/rails/engine.rb
@@ -407,6 +407,8 @@ module Rails
end
end
+ self.isolated = false
+
delegate :middleware, :root, :paths, to: :config
delegate :engine_name, :isolated?, to: "self.class"