diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-12-01 16:26:51 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-12-05 17:54:10 +0300 |
commit | 5cf3ff27c8f955e701837529d72a070697a41a04 (patch) | |
tree | 77fe5f9413941353b87157fc0a55323844fd3c22 /app/presenters/merge_request_presenter.rb | |
parent | f586dc0735545d96d73dd26ff182ddf2d50dd715 (diff) |
Use actual head pipeline on merge request serializer
Diffstat (limited to 'app/presenters/merge_request_presenter.rb')
-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 a25882cbb62..ab4c87c0169 100644 --- a/app/presenters/merge_request_presenter.rb +++ b/app/presenters/merge_request_presenter.rb @@ -163,7 +163,7 @@ class MergeRequestPresenter < Gitlab::View::Presenter::Delegated end def pipeline - @pipeline ||= head_pipeline + @pipeline ||= actual_head_pipeline end def issues_sentence(project, issues) |