Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix action for reassign

Oliver Günther39912a2e62b2
diff --git a/modules/documents/app/views/admin/settings/document_categories/reassign.html.erb b/modules/documents/app/views/admin/settings/document_categories/reassign.html.erb
index e5b5c67cbb8..01463f8c242 100644
--- a/modules/documents/app/views/admin/settings/document_categories/reassign.html.erb
+++ b/modules/documents/app/views/admin/settings/document_categories/reassign.html.erb
@@ -42,6 +42,6 @@ See COPYRIGHT and LICENSE files for more details.
end
%>
-<%= primer_form_with(model: @enumeration, scope: :enumeration, url: url_for(action: :delete, id: @enumeration), method: :delete) do |f| %>
+<%= primer_form_with(model: @enumeration, scope: :enumeration, url: url_for(action: :destroy, id: @enumeration), method: :delete) do |f| %>
<%= render(Admin::Enumerations::ReassignForm.new(f, other_enumerations: @other_enumerations)) %>
<% end %>