Index: app/helpers/application_helper.rb =================================================================== --- app/helpers/application_helper.rb (revision 2879) +++ app/helpers/application_helper.rb (working copy) @@ -527,7 +527,7 @@ if project && project.repository name =~ %r{^[/\\]*(.*?)(@([0-9a-f]+))?(#(L\d+))?$} path, rev, anchor = $1, $3, $5 - link = link_to h("#{prefix}:#{name}"), {:controller => 'repositories', :action => 'entry', :id => project, + link = link_to h("#{prefix}:#{name}"), {:only_path => only_path, :controller => 'repositories', :action => 'entry', :id => project, :path => to_path_param(path), :rev => rev, :anchor => anchor,