summaryrefslogtreecommitdiff
path: root/app/controllers/projects/commit_controller.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-02 16:19:18 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-02 16:59:04 +0200
commit021d3810c300d1e0514f21ccb6f1439f59e20565 (patch)
tree771a663395f39530559c73016f26087a0489fae2 /app/controllers/projects/commit_controller.rb
parent5accd87ad7b0d960e504910d896a832288e51c8d (diff)
downloadgitlab-ce-021d3810c300d1e0514f21ccb6f1439f59e20565.tar.gz
Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipeline
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
-rw-r--r--app/controllers/projects/commit_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb
index 10b5932affa..287388652e6 100644
--- a/app/controllers/projects/commit_controller.rb
+++ b/app/controllers/projects/commit_controller.rb
@@ -100,7 +100,7 @@ class Projects::CommitController < Projects::ApplicationController
end
def ci_commits
- @ci_commits ||= project.ci_commits.where(sha: commit.sha)
+ @ci_commits ||= project.pipelines.where(sha: commit.sha)
end
def ci_builds