2012-02-21 15:41:16 +00:00
|
|
|
%p#file-name1
|
2012-03-21 19:55:14 +00:00
|
|
|
= link_to @project.name, tree_path(@project, :treeish => @treeish)
|
2012-02-21 15:41:16 +00:00
|
|
|
= File::SEPARATOR
|
|
|
|
- if @path.present?
|
|
|
|
- paths = File.split(@path)
|
|
|
|
- if paths.size > 1 and paths.first != '.'
|
|
|
|
- iterate_path(paths.first) do |path, name|
|
2012-03-21 19:55:14 +00:00
|
|
|
= link_to(name, tree_path(@project, @treeish, path))
|
2012-02-21 15:41:16 +00:00
|
|
|
= File::SEPARATOR
|
2012-03-21 19:55:14 +00:00
|
|
|
= paths.last
|