From 4a7a858ae70227a2ca6559fa2f0287f71859361b Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Wed, 21 Nov 2012 00:48:21 +0530 Subject: Initialize accessors to remove some warnings in Ruby 2.0 --- railties/lib/rails/engine.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'railties/lib') 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" -- cgit v1.2.3