diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index 33a49f23a..9f84bd4b7 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -7,7 +7,7 @@ module NotificationsHelper link_to notification.resource, id: dom_id(notification), class: "notification", data: { turbo_frame: "_top", - action: "notifications--readings#record", + action: "turbo:click->notifications--readings#record", notifications__readings_url_param: notification_readings_url(notification) }, & end