From: Toshi MARUYAMA Date: Sat, 17 Sep 2011 00:14:39 +0000 (+0000) Subject: remove trailing white-spaces from app/views/repositories/_breadcrumbs.html.erb X-Git-Tag: 1.3.0~702 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7f4af3bfb9b9f5d4a4e9bc81102d856522ac4454;p=redmine.git remove trailing white-spaces from app/views/repositories/_breadcrumbs.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7266 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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 %>