@@ -1,4 +1,5 | |||||
1 | <%= link_to 'root', :action => 'show', :id => @project, :repository_id => @repository.identifier_param, :path => '', :rev => @rev %> |
|
1 | <%= link_to(@repository.identifier.present? ? h(@repository.identifier) : 'root', | |
|
2 | :action => 'show', :id => @project, :repository_id => @repository.identifier_param, :path => '', :rev => @rev) %> | |||
2 | <% |
|
3 | <% | |
3 | dirs = path.split('/') |
|
4 | dirs = path.split('/') | |
4 | if 'file' == kind |
|
5 | if 'file' == kind |
General Comments 0
You need to be logged in to leave comments.
Login now