diff options
author | Arun Agrawal <arunagw@gmail.com> | 2012-11-21 00:48:21 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2012-11-21 00:48:21 +0530 |
commit | 4a7a858ae70227a2ca6559fa2f0287f71859361b (patch) | |
tree | 39ce8f4d66313985d92c0ee5c94ed214edf4ea37 /railties/lib | |
parent | 3a890681fad8218305585036abed6d7463a44e41 (diff) | |
download | rails-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.rb | 2 |
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" |