1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fixes warning: & interpreted as argument prefix

This commit is contained in:
kennyj 2012-08-30 23:11:54 +09:00
parent a317e7897f
commit d30977c758

View file

@ -166,7 +166,7 @@ module ActionController
private
def combine_etags(etag)
[ etag, *etaggers.map { |etagger| instance_exec &etagger }.compact ]
[ etag, *etaggers.map { |etagger| instance_exec(&etagger) }.compact ]
end
end
end