summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-21 14:43:37 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-21 14:43:37 +0200
commit92984783db82e98cae06c08c680fd9c766ac52f8 (patch)
tree5d5cae41b26f000f6c420e1a4c8fb28bd61e3ab5 /app/controllers
parentd9a64e9f4107c68257db7dc76d25e5ecc883d7b1 (diff)
downloadgitlab-ce-fix/builds-api-nil-commit.tar.gz
Rename commit_data in Pipeline to commitfix/builds-api-nil-commit
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/pipelines_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipelines_controller.rb b/app/controllers/projects/pipelines_controller.rb
index 127bd1a4318..487963fdcd7 100644
--- a/app/controllers/projects/pipelines_controller.rb
+++ b/app/controllers/projects/pipelines_controller.rb
@@ -54,6 +54,6 @@ class Projects::PipelinesController < Projects::ApplicationController
end
def commit
- @commit ||= @pipeline.commit_data
+ @commit ||= @pipeline.commit
end
end