From 8334b612a80fac8379201b4482f0a60c1a006035 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Wed, 28 Oct 2026 09:33:46 +0200 Subject: [PATCH] fix enable shared link --- app/views/templates_share_link_qr/disabled.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/templates_share_link_qr/disabled.html.erb b/app/views/templates_share_link_qr/disabled.html.erb index ef1f929ce..a3d36114a 100644 --- a/app/views/templates_share_link_qr/disabled.html.erb +++ b/app/views/templates_share_link_qr/disabled.html.erb @@ -4,7 +4,7 @@

<% if can?(:update, @template) %> - <%= button_to button_title(title: t('enable_shared_link'), icon: svg_icon('lock_open', class: 'w-6 h-6')), template_share_link_path(@template), params: { template: { shared_link: true }, redir: template_share_link_qr_path(@template) }, method: :post, data: { turbo: false }, class: 'base-button w-full' %> + <%= button_to button_title(title: t('enable_shared_link'), icon: svg_icon('lock_open', class: 'w-6 h-6')), template_share_link_path(@template), params: { template: { shared_link: true }, redir: template_share_link_qr_path(@template) }, method: :post, class: 'base-button w-full' %> <% end %>