diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-07-30 15:52:42 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-08-06 11:58:22 -0300 |
commit | fdb5f285f924e653400f7bbe18d13718c469d74f (patch) | |
tree | 3570730544d21c8d463aed792e9adcd686ea436a /app/presenters | |
parent | cb2e07309b4e61501a44c3568155bdb73252338f (diff) | |
download | gitlab-ce-fdb5f285f924e653400f7bbe18d13718c469d74f.tar.gz |
Retrieve merge request closing issues from database cache
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/merge_request_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/merge_request_presenter.rb b/app/presenters/merge_request_presenter.rb index ffa238a63d5..8c4eac3c31d 100644 --- a/app/presenters/merge_request_presenter.rb +++ b/app/presenters/merge_request_presenter.rb @@ -206,7 +206,7 @@ class MergeRequestPresenter < Gitlab::View::Presenter::Delegated end def closing_issues - @closing_issues ||= closes_issues(current_user) + @closing_issues ||= visible_closing_issues_for(current_user) end def pipeline |