From 21879c560fd1e8b380b9a0d46b481b11968d36ef Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 8 Jan 2013 20:16:20 -0200 Subject: Fix warning: & interpreted as argument prefix --- actionpack/lib/action_controller/caching.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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 -- cgit v1.2.3