Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes warning: & interpreted as argument prefix

  • Loading branch information...
commit d30977c75872d6548bec3ecf63d6dc9c7c016a1c 1 parent a317e78
@kennyj kennyj authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.