diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-08 20:16:20 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-08 20:16:20 -0200 |
commit | 21879c560fd1e8b380b9a0d46b481b11968d36ef (patch) | |
tree | 2349ca70fb7d7c0c81726025d7cab939865c8b3a | |
parent | 507d23c421b189ac8386e0605c57ab3db831001e (diff) | |
download | rails-21879c560fd1e8b380b9a0d46b481b11968d36ef.tar.gz rails-21879c560fd1e8b380b9a0d46b481b11968d36ef.tar.bz2 rails-21879c560fd1e8b380b9a0d46b481b11968d36ef.zip |
Fix warning: & interpreted as argument prefix
-rw-r--r-- | actionpack/lib/action_controller/caching.rb | 2 |
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 |