Defect #5871 ยป application_helper.rb.diff
app/helpers/application_helper.rb (working copy) | ||
---|---|---|
620 | 620 |
if project && project.repository |
621 | 621 |
name =~ %r{^[/\\]*(.*?)(@([0-9a-f]+))?(#(L\d+))?$} |
622 | 622 |
path, rev, anchor = $1, $3, $5 |
623 |
link = link_to h("#{prefix}:#{name}"), {:controller => 'repositories', :action => 'entry', :id => project, |
|
623 |
link = link_to h("#{(prefix == 'export') ? l(:label_downloads_abbr) : l(:label_display)}:#{name}"), |
|
624 |
{:controller => 'repositories', :action => 'entry', :id => project, |
|
624 | 625 |
:path => to_path_param(path), |
625 | 626 |
:rev => rev, |
626 | 627 |
:anchor => anchor, |