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:
parent
a317e7897f
commit
d30977c758
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue