Mercurial > hg > soundsoftware-site
diff app/views/repositories/_breadcrumbs.html.erb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | c6c2cbd0afee |
children | 433d4f72a19b |
line wrap: on
line diff
--- a/app/views/repositories/_breadcrumbs.html.erb Fri Feb 24 18:36:29 2012 +0000 +++ b/app/views/repositories/_breadcrumbs.html.erb Fri Feb 24 19:09:32 2012 +0000 @@ -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 @@ 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 %>