diff --git a/app/views/payforms/index.html.erb b/app/views/payforms/index.html.erb index b55f6f86b..898a498f4 100644 --- a/app/views/payforms/index.html.erb +++ b/app/views/payforms/index.html.erb @@ -37,6 +37,6 @@
<%= link_to "My Current Payform", go_payforms_path, class: "btn btn-default" %> <% if current_user.is_admin_of?(current_department) %> - <%= link_to "Print all approved payforms", create_payform_set_path, class: "btn btn-default" if @payforms.select{|p| p.approved && !p.printed }.length > 0 %> + <%= link_to "Print all approved payforms", payform_sets_path, method: :post, class: "btn btn-default" if @payforms.select{|p| p.approved && !p.printed }.length > 0 %> <%= link_to "Prune all empty payforms", prune_payforms_path, method: :delete, class: "btn btn-default" %> <% end %>