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/action_view/template/resolver.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/action_view/template/resolver.rb')
-rw-r--r-- | actionpack/lib/action_view/template/resolver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb index 8b23029bbc..1a1083bf00 100644 --- a/actionpack/lib/action_view/template/resolver.rb +++ b/actionpack/lib/action_view/template/resolver.rb @@ -118,7 +118,7 @@ module ActionView private - delegate :caching?, :to => "self.class" + delegate :caching?, to: :class # This is what child classes implement. No defaults are needed # because Resolver guarantees that the arguments are present and |