diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-12-01 11:26:51 -0200 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-12-05 12:54:10 -0200 |
commit | 5cf3ff27c8f955e701837529d72a070697a41a04 (patch) | |
tree | 77fe5f9413941353b87157fc0a55323844fd3c22 /app/presenters | |
parent | f586dc0735545d96d73dd26ff182ddf2d50dd715 (diff) | |
download | gitlab-ce-5cf3ff27c8f955e701837529d72a070697a41a04.tar.gz |
Use actual head pipeline on merge request serializer
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 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) |