aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-01-08 20:16:20 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-01-08 20:16:20 -0200
commit21879c560fd1e8b380b9a0d46b481b11968d36ef (patch)
tree2349ca70fb7d7c0c81726025d7cab939865c8b3a /actionpack
parent507d23c421b189ac8386e0605c57ab3db831001e (diff)
downloadrails-21879c560fd1e8b380b9a0d46b481b11968d36ef.tar.gz
rails-21879c560fd1e8b380b9a0d46b481b11968d36ef.tar.bz2
rails-21879c560fd1e8b380b9a0d46b481b11968d36ef.zip
Fix warning: & interpreted as argument prefix
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