diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/conditional_get.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/conditional_get.rb b/actionpack/lib/action_controller/metal/conditional_get.rb index 870938df8f..7521deaaca 100644 --- a/actionpack/lib/action_controller/metal/conditional_get.rb +++ b/actionpack/lib/action_controller/metal/conditional_get.rb @@ -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 |