Permalink
Browse files

Fix warning: & interpreted as argument prefix

  • Loading branch information...
1 parent 507d23c commit 21879c560fd1e8b380b9a0d46b481b11968d36ef @carlosantoniodasilva carlosantoniodasilva committed Jan 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/caching.rb
@@ -82,7 +82,7 @@ def view_cache_dependency(&dependency)
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

0 comments on commit 21879c5

Please sign in to comment.