diff --git a/app/views/plans/index.html.erb b/app/views/plans/index.html.erb index 472143c..7421127 100644 --- a/app/views/plans/index.html.erb +++ b/app/views/plans/index.html.erb @@ -73,7 +73,7 @@ show_export_plan_path(plan) %>
  • <%= link_to _('Make a copy'), - duplicate_plan_path(plan) %>
  • + duplicate_plan_path(plan), method: :post, remote: true %> <% if plan.owned_by?(current_user.id) then %>
  • <%= link_to _('Delete'),