diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 16:27:50 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-03 16:27:50 +0200 |
commit | 1927a2d30bf88ab9fe3c1235cb529f5fd8dc01be (patch) | |
tree | d5e792d24b97c1fa31badb7843a9f2e56a280f9f /app/helpers/ci_status_helper.rb | |
parent | 8a4f3193b54e19794be8cd7f91e9976237f0c1a9 (diff) | |
download | gitlab-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.rb | 6 |
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) |