diff options
author | Jeff Stubler <brunsa2@gmail.com> | 2017-01-09 02:09:00 +0300 |
---|---|---|
committer | Jeff Stubler <brunsa2@gmail.com> | 2018-02-13 16:47:09 +0300 |
commit | 9abbe3cc860f5838df76405e59830efdacb07047 (patch) | |
tree | dcdb5b75689d3feca4f760f91e0fde084f37f2cd /app/controllers | |
parent | 5b73e0eb35f5b9b78c228a4867ef78538ef05653 (diff) |
Change issue show page to group MRs by projects and namespaces
Closes #26466.
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/issues_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/projects/issues_controller.rb b/app/controllers/projects/issues_controller.rb index 384f18b316c..85c73b55f9f 100644 --- a/app/controllers/projects/issues_controller.rb +++ b/app/controllers/projects/issues_controller.rb @@ -121,8 +121,7 @@ class Projects::IssuesController < Projects::ApplicationController end def referenced_merge_requests - @merge_requests = @issue.referenced_merge_requests(current_user) - @closed_by_merge_requests = @issue.closed_by_merge_requests(current_user) + @merge_requests, @closed_by_merge_requests = ::Issues::FetchReferencedMergeRequestsService.new(project, current_user).execute(issue) respond_to do |format| format.json do |