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 repository breadcrumbs with query string instead of path

Matthew Trescott50ad15bbaa33
diff --git a/app/views/repositories/_breadcrumbs.html.erb b/app/views/repositories/_breadcrumbs.html.erb
index 22ed88fe036..1fb1815c20a 100644
--- a/app/views/repositories/_breadcrumbs.html.erb
+++ b/app/views/repositories/_breadcrumbs.html.erb
@@ -44,7 +44,7 @@ dirs.each_with_index do |dir, index|
<strong><%= h(dir) %></strong>
<% else %>
<%= link_to h(dir), action: 'show', project_id: @project,
- path: to_path_param(link_path), rev: @rev %>
+ repo_path: to_path_param(link_path), rev: @rev %>
<% end %>
<% end %>
<%