diff options
Diffstat (limited to 'app/presenters/ci/pipeline_presenter.rb')
-rw-r--r-- | app/presenters/ci/pipeline_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/ci/pipeline_presenter.rb b/app/presenters/ci/pipeline_presenter.rb index b113c7043e7..37abefb5664 100644 --- a/app/presenters/ci/pipeline_presenter.rb +++ b/app/presenters/ci/pipeline_presenter.rb @@ -116,7 +116,7 @@ module Ci def merge_request_presenter strong_memoize(:merge_request_presenter) do - if pipeline.triggered_by_merge_request? + if pipeline.merge_request? pipeline.merge_request.present(current_user: current_user) end end |