Files
fizzy/app/javascript/controllers
Mike Dalessio 11df9c3589 Fix back navigation from activity page to cards (#2727)
Three changes needed to support navigating back from a card to the
activity page:

- Add root_path to the prefer_referrer allowlist on the card show page
- Switch event links from HTML target="_top" to data-turbo-frame="_top"
  so Turbo handles the navigation and turbo:before-visit fires to save
  the referrer
- Normalize trailing slashes in the referrer path comparison so
  /account_id and /account_id/ both match

ref: https://app.fizzy.do/5986089/cards/2390
2026-03-18 22:03:36 -04:00
..
2024-06-21 13:19:56 +01:00
2025-07-24 14:49:53 -05:00
2026-03-03 10:31:08 +01:00
2025-04-09 14:09:08 -05:00
2024-06-21 13:19:56 +01:00
2025-09-12 11:01:56 +02:00
2026-03-03 10:31:08 +01:00