5416: Remove second trailing slash in breadcrumbs link.
[arvados.git] / apps / workbench / app / views / repositories / _repository_breadcrumbs.html.erb
index 736c1873e5c384e745522fad1ce1c81534b17310..14f9ba74a37b6ff7a9bcb645ea8ba3caab957917 100644 (file)
@@ -3,7 +3,7 @@
   <%= link_to(@commit, show_repository_commit_path(id: @object.uuid, commit: @commit), title: 'show commit message') %>
 </div>
 <p>
-  <%= link_to(@object.name, show_repository_tree_path(id: @object.uuid, commit: @commit, path: '/'), title: 'show root directory of source tree') %>
+  <%= link_to(@object.name, show_repository_tree_path(id: @object.uuid, commit: @commit, path: ''), title: 'show root directory of source tree') %>
   <% parents = ''
      (@path || '').split('/').each do |pathpart|
      parents = parents + pathpart + '/'