Defect #3483 ยป source_export-only_path.patch
app/helpers/application_helper.rb (working copy) | ||
---|---|---|
527 | 527 |
if project && project.repository |
528 | 528 |
name =~ %r{^[/\\]*(.*?)(@([0-9a-f]+))?(#(L\d+))?$} |
529 | 529 |
path, rev, anchor = $1, $3, $5 |
530 |
link = link_to h("#{prefix}:#{name}"), {:controller => 'repositories', :action => 'entry', :id => project, |
|
530 |
link = link_to h("#{prefix}:#{name}"), {:only_path => only_path, :controller => 'repositories', :action => 'entry', :id => project,
|
|
531 | 531 |
:path => to_path_param(path), |
532 | 532 |
:rev => rev, |
533 | 533 |
:anchor => anchor, |