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
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<%= link_to 'root', :action => 'show', :id => @project, :path => '', :rev => @rev %>
|
<%= link_to 'root', :action => 'show', :id => @project, :path => '', :rev => @rev %>
|
||||||
<%
|
<%
|
||||||
dirs = path.split('/')
|
dirs = path.split('/')
|
||||||
if 'file' == kind
|
if 'file' == kind
|
||||||
filename = dirs.pop
|
filename = dirs.pop
|
||||||
@@ -8,7 +8,7 @@ link_path = ''
|
|||||||
dirs.each do |dir|
|
dirs.each do |dir|
|
||||||
next if dir.blank?
|
next if dir.blank?
|
||||||
link_path << '/' unless link_path.empty?
|
link_path << '/' unless link_path.empty?
|
||||||
link_path << "#{dir}"
|
link_path << "#{dir}"
|
||||||
%>
|
%>
|
||||||
/ <%= link_to h(dir), :action => 'show', :id => @project,
|
/ <%= link_to h(dir), :action => 'show', :id => @project,
|
||||||
:path => to_path_param(link_path), :rev => @rev %>
|
:path => to_path_param(link_path), :rev => @rev %>
|
||||||
|
|||||||
Reference in New Issue
Block a user