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

[#41114] Wrong link for "Documents added" email notification

Dmitriid54aa668fbb6
diff --git a/modules/documents/app/views/documents_mailer/document_added.html.erb b/modules/documents/app/views/documents_mailer/document_added.html.erb
index 6adbe69ddd6..2b191d12217 100644
--- a/modules/documents/app/views/documents_mailer/document_added.html.erb
+++ b/modules/documents/app/views/documents_mailer/document_added.html.erb
@@ -27,6 +27,6 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
-<p><%= link_to(@document.title, project_documents_url(@document)) %> (<%= @document.category.name %>)</p>
+<p><%= link_to(@document.title, document_url(@document)) %> (<%= @document.category.name %>)</p>
<%= format_text @document.description %>