diff options
author | Gosha Arinich <me@goshakkk.name> | 2013-01-06 12:43:30 +0300 |
---|---|---|
committer | Gosha Arinich <me@goshakkk.name> | 2013-01-06 12:43:30 +0300 |
commit | 7a439d23de4c7c187b0deda8e02138b3dccf0181 (patch) | |
tree | 267bcf762c5b03ba6d0a4211d4955a0028d8285c /actionpack/lib/abstract_controller/layouts.rb | |
parent | bdffd1e884593adc40fb30bd7c05661a668fc897 (diff) | |
download | rails-7a439d23de4c7c187b0deda8e02138b3dccf0181.tar.gz rails-7a439d23de4c7c187b0deda8e02138b3dccf0181.tar.bz2 rails-7a439d23de4c7c187b0deda8e02138b3dccf0181.zip |
delegate to :class rather than 'self.class'
Diffstat (limited to 'actionpack/lib/abstract_controller/layouts.rb')
-rw-r--r-- | actionpack/lib/abstract_controller/layouts.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/layouts.rb b/actionpack/lib/abstract_controller/layouts.rb index 73799e8085..91864f2a35 100644 --- a/actionpack/lib/abstract_controller/layouts.rb +++ b/actionpack/lib/abstract_controller/layouts.rb @@ -209,7 +209,7 @@ module AbstractController _write_layout_method end - delegate :_layout_conditions, :to => "self.class" + delegate :_layout_conditions, to: :class module ClassMethods def inherited(klass) # :nodoc: |