@@ -1,5 +1,5 | |||
|
1 | 1 | <%= link_to 'root', :action => 'show', :id => @project, :path => '', :rev => @rev %> |
|
2 |
<% |
|
|
2 | <% | |
|
3 | 3 | dirs = path.split('/') |
|
4 | 4 | if 'file' == kind |
|
5 | 5 | filename = dirs.pop |
@@ -8,7 +8,7 link_path = '' | |||
|
8 | 8 | dirs.each do |dir| |
|
9 | 9 | next if dir.blank? |
|
10 | 10 | link_path << '/' unless link_path.empty? |
|
11 |
link_path << "#{dir}" |
|
|
11 | link_path << "#{dir}" | |
|
12 | 12 | %> |
|
13 | 13 | / <%= link_to h(dir), :action => 'show', :id => @project, |
|
14 | 14 | :path => to_path_param(link_path), :rev => @rev %> |
General Comments 0
You need to be logged in to leave comments.
Login now