Permalink
Browse files

Fixes warning: & interpreted as argument prefix

  • Loading branch information...
1 parent a317e78 commit d30977c75872d6548bec3ecf63d6dc9c7c016a1c @kennyj committed Aug 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/conditional_get.rb
@@ -166,7 +166,7 @@ def expires_now #:doc:
private
def combine_etags(etag)
- [ etag, *etaggers.map { |etagger| instance_exec &etagger }.compact ]
+ [ etag, *etaggers.map { |etagger| instance_exec(&etagger) }.compact ]
end
end
end

0 comments on commit d30977c

Please sign in to comment.