Browse files

Merge pull request #7484 from kennyj/fix_warning_20120830

Fixes warning: & interpreted as argument prefix
  • Loading branch information...
2 parents a317e78 + d30977c commit 66c31dd2b8b50090b48fecf8d39b706d3f4eb8c8 @rafaelfranca rafaelfranca committed Aug 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/conditional_get.rb
View
2 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 66c31dd

Please sign in to comment.