diff --git a/app/helpers/organization_helper.rb b/app/helpers/organization_helper.rb index f77476483..659ff0f11 100644 --- a/app/helpers/organization_helper.rb +++ b/app/helpers/organization_helper.rb @@ -15,7 +15,7 @@ def organization_profile_button(organization, truncate_at: nil, subtitle: nil, l hover_title = [ organization.name, subtitle ].compact_blank.join(" — ") link_to organization_path(organization), - data: data, + data: { turbo_prefetch: false }.merge(data), title: hover_title, class: "group relative flex items-center gap-2 w-full px-4 py-2 diff --git a/app/helpers/person_helper.rb b/app/helpers/person_helper.rb index 4f58965ff..74b6f124a 100644 --- a/app/helpers/person_helper.rb +++ b/app/helpers/person_helper.rb @@ -16,7 +16,7 @@ def person_profile_button(person, truncate_at: nil, subtitle: nil, display_name: hover_title = [ full_name, subtitle ].compact_blank.join(" — ") link_to person_path(person), - data: data, + data: { turbo_prefetch: false }.merge(data), title: hover_title, class: "group relative flex items-center gap-2 w-full px-4 py-2 diff --git a/app/views/people/people_results.html.erb b/app/views/people/people_results.html.erb index e2dcb0ba3..5c35921e7 100644 --- a/app/views/people/people_results.html.erb +++ b/app/views/people/people_results.html.erb @@ -20,7 +20,7 @@
<% @people.each do |person| %> <% cache [person, current_user.super_user?] do %> -