Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-21 15:43:37 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-21 15:43:37 +0300
commit92984783db82e98cae06c08c680fd9c766ac52f8 (patch)
tree5d5cae41b26f000f6c420e1a4c8fb28bd61e3ab5 /app/controllers/projects/pipelines_controller.rb
parentd9a64e9f4107c68257db7dc76d25e5ecc883d7b1 (diff)
Rename commit_data in Pipeline to commit
Diffstat (limited to 'app/controllers/projects/pipelines_controller.rb')
-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