aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template/resolver.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-01-06 05:00:54 -0800
committerAndrew White <andyw@pixeltrix.co.uk>2013-01-06 05:00:54 -0800
commitf18078475efce9eeef27d64044058539517b0260 (patch)
tree9c6245a12f9dd4ed8b3f5e018fc9a0f3b415164c /actionpack/lib/action_view/template/resolver.rb
parent7843e009d2bc8d088437ff6f43e47ba113de9dee (diff)
parent7a439d23de4c7c187b0deda8e02138b3dccf0181 (diff)
downloadrails-f18078475efce9eeef27d64044058539517b0260.tar.gz
rails-f18078475efce9eeef27d64044058539517b0260.tar.bz2
rails-f18078475efce9eeef27d64044058539517b0260.zip
Merge pull request #8777 from goshakkk/delegate-class
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.rb2
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