mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 09:17:30 +08:00
39ae85b0e7
Using around_action means `add_early_hint_header` is in the stack for every request, and gets included in the backtrace of any errors.
We can manage with an after_action instead, which avoids adding to the stack depth (and avoids people blaming me for unrelated application errors 😉)
|
||
---|---|---|
.. | ||
application_helper_spec.rb | ||
redis_snapshot_helper.rb | ||
topics_helper_spec.rb | ||
user_notifications_helper_spec.rb |