summaryrefslogtreecommitdiff
path: root/app/controllers/projects/pipelines_controller.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-01 11:55:18 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-01 11:55:18 +0200
commitc00d72b6f33d50b1c5cd6948d54b3addf11f9104 (patch)
tree6ce71c98e7fa46f2fb85078409936bccea1f31df /app/controllers/projects/pipelines_controller.rb
parent5c2ce44baf5205c038759c4779a74e3381183e8a (diff)
downloadgitlab-ce-c00d72b6f33d50b1c5cd6948d54b3addf11f9104.tar.gz
Rename pipeline methods related to legacy stages
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 602d3dd8c1c..d351e773cd7 100644
--- a/app/controllers/projects/pipelines_controller.rb
+++ b/app/controllers/projects/pipelines_controller.rb
@@ -99,7 +99,7 @@ class Projects::PipelinesController < Projects::ApplicationController
end
def stage
- @stage = pipeline.stage(params[:stage])
+ @stage = pipeline.legacy_stage(params[:stage])
return not_found unless @stage
respond_to do |format|