summaryrefslogtreecommitdiff
path: root/app/helpers/ci_status_helper.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-03 16:27:50 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-03 16:27:50 +0200
commit1927a2d30bf88ab9fe3c1235cb529f5fd8dc01be (patch)
treed5e792d24b97c1fa31badb7843a9f2e56a280f9f /app/helpers/ci_status_helper.rb
parent8a4f3193b54e19794be8cd7f91e9976237f0c1a9 (diff)
downloadgitlab-ce-1927a2d30bf88ab9fe3c1235cb529f5fd8dc01be.tar.gz
Rename all ci_commit[s] in application code to pipeline[s]
Diffstat (limited to 'app/helpers/ci_status_helper.rb')
-rw-r--r--app/helpers/ci_status_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb
index cfad17dcacf..07e5c146844 100644
--- a/app/helpers/ci_status_helper.rb
+++ b/app/helpers/ci_status_helper.rb
@@ -1,7 +1,7 @@
module CiStatusHelper
- def ci_status_path(ci_commit)
- project = ci_commit.project
- builds_namespace_project_commit_path(project.namespace, project, ci_commit.sha)
+ def ci_status_path(pipeline)
+ project = pipeline.project
+ builds_namespace_project_commit_path(project.namespace, project, pipeline.sha)
end
def ci_status_with_icon(status, target = nil)