diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-07-06 10:27:47 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-07-06 10:27:47 +0000 |
commit | 0341094005d2174d31cf86010997edb85a6aaf0b (patch) | |
tree | e5e78c362ca091c88d52b7643f73db220134fe79 | |
parent | 17ce40cf5fcffb2876455040fb2a1d19d7974a89 (diff) | |
download | redmine-0341094005d2174d31cf86010997edb85a6aaf0b.tar.gz redmine-0341094005d2174d31cf86010997edb85a6aaf0b.zip |
Merged r13219 (#3483).
git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@13221 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d564e838c..9932686f5 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -860,7 +860,7 @@ module ApplicationHelper if repository && User.current.allowed_to?(:browse_repository, project) name =~ %r{^[/\\]*(.*?)(@([^/\\@]+?))?(#(L\d+))?$} path, rev, anchor = $1, $3, $5 - link = link_to h("#{project_prefix}#{prefix}:#{repo_prefix}#{name}"), {:controller => 'repositories', :action => (prefix == 'export' ? 'raw' : 'entry'), :id => project, :repository_id => repository.identifier_param, + 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, :path => to_path_param(path), :rev => rev, :anchor => anchor}, |