summaryrefslogtreecommitdiff
path: root/app/presenters
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-07-10 14:54:58 -0500
committerClement Ho <ClemMakesApps@gmail.com>2017-07-10 14:55:13 -0500
commit9e4e1afb4a7907f2a79d18fd9b5d03c9f6599ccf (patch)
treebd6d51d626578380031f6c0b65f231a6e0acdc71 /app/presenters
parent31ada792621f17ab7f4f7475405ddd1ec9e9673a (diff)
downloadgitlab-ce-9e4e1afb4a7907f2a79d18fd9b5d03c9f6599ccf.tar.gz
MR branch link now links to tree instead of commits
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/merge_request_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/merge_request_presenter.rb b/app/presenters/merge_request_presenter.rb
index 6ba1d3165e9..101568b66b7 100644
--- a/app/presenters/merge_request_presenter.rb
+++ b/app/presenters/merge_request_presenter.rb
@@ -94,7 +94,7 @@ class MergeRequestPresenter < Gitlab::View::Presenter::Delegated
if source_branch_exists?
namespace = link_to(namespace, project_path(source_project))
- branch = link_to(branch, project_commits_path(source_project, source_branch))
+ branch = link_to(branch, project_tree_path(source_project, source_branch))
end
if for_fork?