mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 22:50:31 +08:00
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 | ||