aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/caching.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb
index e31743bcc7..0f4cced32a 100644
--- a/actionpack/lib/action_controller/caching.rb
+++ b/actionpack/lib/action_controller/caching.rb
@@ -82,7 +82,7 @@ module ActionController
end
def view_cache_dependencies
- _view_cache_dependencies.map { |dep| instance_exec &dep }.compact
+ _view_cache_dependencies.map { |dep| instance_exec(&dep) }.compact
end
end