From 05902d485b99d7ca72d9a6b67a3cc2176781b642 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 21 Oct 2022 11:32:36 +0200 Subject: [PATCH] Fix protocol creation from dashboard [SCI-7374] --- app/views/dashboards/_quick_start.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dashboards/_quick_start.html.erb b/app/views/dashboards/_quick_start.html.erb index 1f72ff5b3..0e3154d22 100644 --- a/app/views/dashboards/_quick_start.html.erb +++ b/app/views/dashboards/_quick_start.html.erb @@ -1,7 +1,7 @@
<%= t("dashboard.quick_start.new_task") %>
<% if can_create_protocols_in_repository?(current_team) %> - <%= link_to protocols_path, {class: "new-protocol btn btn-secondary"} do %> + <%= button_to protocols_path(type: :public), class: 'btn btn-secondary' do %> <%= t("dashboard.quick_start.new_protocol") %> <% end %> <% end %>