Skip to content

Commit

Permalink
Fix warning: & interpreted as argument prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosantoniodasilva committed Jan 8, 2013
1 parent 507d23c commit 21879c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/caching.rb
Expand Up @@ -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

Expand Down

0 comments on commit 21879c5

Please sign in to comment.