5416: Remove second trailing slash in breadcrumbs link.
authorTom Clegg <tom@curoverse.com>
Thu, 16 Apr 2015 20:44:38 +0000 (16:44 -0400)
committerTom Clegg <tom@curoverse.com>
Mon, 20 Apr 2015 20:58:51 +0000 (16:58 -0400)
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 + '/'