summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/repositories/_breadcrumbs.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/repositories/_breadcrumbs.html.erb b/app/views/repositories/_breadcrumbs.html.erb
index d0fdf2a60..de3001e03 100644
--- a/app/views/repositories/_breadcrumbs.html.erb
+++ b/app/views/repositories/_breadcrumbs.html.erb
@@ -1,5 +1,5 @@
<%= link_to 'root', :action => 'show', :id => @project, :path => '', :rev => @rev %>
-<%
+<%
dirs = path.split('/')
if 'file' == kind
filename = dirs.pop
@@ -8,7 +8,7 @@ link_path = ''
dirs.each do |dir|
next if dir.blank?
link_path << '/' unless link_path.empty?
- link_path << "#{dir}"
+ link_path << "#{dir}"
%>
/ <%= link_to h(dir), :action => 'show', :id => @project,
:path => to_path_param(link_path), :rev => @rev %>