summaryrefslogtreecommitdiff
path: root/app/presenters/ci
diff options
context:
space:
mode:
authorRydkin Maxim <maks.rydkin@gmail.com>2017-03-27 21:14:17 +0300
committerRydkin Maxim <maks.rydkin@gmail.com>2017-04-04 21:11:25 +0300
commit86d8c2a78e3e9834bcb59a94041be6f9e40c7f98 (patch)
tree380b53146b311bc854499225ceb1f4627995e841 /app/presenters/ci
parenta0de26f2c439554feb446c5283c07ea90279304c (diff)
downloadgitlab-ce-86d8c2a78e3e9834bcb59a94041be6f9e40c7f98.tar.gz
remove redundant `pipeline`
Diffstat (limited to 'app/presenters/ci')
-rw-r--r--app/presenters/ci/pipeline_status_badge_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/ci/pipeline_status_badge_presenter.rb b/app/presenters/ci/pipeline_status_badge_presenter.rb
index bc6601c8a7f..ac6325dd5fa 100644
--- a/app/presenters/ci/pipeline_status_badge_presenter.rb
+++ b/app/presenters/ci/pipeline_status_badge_presenter.rb
@@ -7,7 +7,7 @@ module Ci
end
def status_title
- "Pipeline is redundant and is auto-canceled by Pipeline ##{pipeline.auto_canceled_by_id}" if auto_canceled?
+ "Pipeline is redundant and is auto-canceled by Pipeline ##{auto_canceled_by_id}" if auto_canceled?
end
end
end