diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-11-14 19:32:43 -0600 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-11-16 00:04:35 +0100 |
commit | ef4afed81cab133ac511944d660e8c0667c43075 (patch) | |
tree | 3bb820d2a39f1d1859fecfa4aead8e9c722e0c11 /railties/lib/rails | |
parent | dc1250265cdf1ae4ab2d61b5d0b1cf2aa2f8ba0e (diff) | |
download | rails-ef4afed81cab133ac511944d660e8c0667c43075.tar.gz rails-ef4afed81cab133ac511944d660e8c0667c43075.tar.bz2 rails-ef4afed81cab133ac511944d660e8c0667c43075.zip |
There is no need to make isolated? method with bang-bang, just alias isolated
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/engine.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb index 466a31c2a0..62fb781c19 100644 --- a/railties/lib/rails/engine.rb +++ b/railties/lib/rails/engine.rb @@ -329,6 +329,7 @@ module Rails class << self attr_accessor :called_from, :isolated + alias :isolated? :isolated alias :engine_name :railtie_name def inherited(base) @@ -368,10 +369,6 @@ module Rails end end end - - def isolated? - !!isolated - end end delegate :middleware, :root, :paths, :to => :config |