@@ -863,7 +863,7 module ApplicationHelper | |||
|
863 | 863 | if repository && User.current.allowed_to?(:browse_repository, project) |
|
864 | 864 | name =~ %r{^[/\\]*(.*?)(@([^/\\@]+?))?(#(L\d+))?$} |
|
865 | 865 | path, rev, anchor = $1, $3, $5 |
|
866 | link = link_to h("#{project_prefix}#{prefix}:#{repo_prefix}#{name}"), {:controller => 'repositories', :action => (prefix == 'export' ? 'raw' : 'entry'), :id => project, :repository_id => repository.identifier_param, | |
|
866 | link = link_to h("#{project_prefix}#{prefix}:#{repo_prefix}#{name}"), {:only_path => only_path, :controller => 'repositories', :action => (prefix == 'export' ? 'raw' : 'entry'), :id => project, :repository_id => repository.identifier_param, | |
|
867 | 867 | :path => to_path_param(path), |
|
868 | 868 | :rev => rev, |
|
869 | 869 | :anchor => anchor}, |
General Comments 0
You need to be logged in to leave comments.
Login now