Arvados-DCO-1.1-Signed-off-by: Radhika Chippada <radhika@curoverse.com>
[arvados.git] / apps / workbench / app / views / repositories / _repository_breadcrumbs.html.erb
index 736c1873e5c384e745522fad1ce1c81534b17310..6d0f9906fc2235847a54d7c0a3a8aa0ca6dae4c8 100644 (file)
@@ -1,9 +1,13 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <div class="pull-right">
   <span class="deemphasize">Browsing <%= @object.name %> repository at commit</span>
   <%= 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 + '/'