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:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-01-06 18:23:32 +0300
committerJose Ivan Vargas <jvargas@gitlab.com>2017-02-06 23:51:18 +0300
commit08ecab601398b9c62fb4b6c6231f610e5636f977 (patch)
treee19d5f474ba9186e7ffdc7584ecdb926edde02c9 /app/controllers/projects/pipelines_settings_controller.rb
parent58110293d4425c50a87975749551e069a02dc0cd (diff)
changed pipelines controller name to ci_cd_pipelines
Diffstat (limited to 'app/controllers/projects/pipelines_settings_controller.rb')
-rw-r--r--app/controllers/projects/pipelines_settings_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/pipelines_settings_controller.rb b/app/controllers/projects/pipelines_settings_controller.rb
index a8dfe90c3e3..e571394a677 100644
--- a/app/controllers/projects/pipelines_settings_controller.rb
+++ b/app/controllers/projects/pipelines_settings_controller.rb
@@ -2,13 +2,13 @@ class Projects::PipelinesSettingsController < Projects::ApplicationController
before_action :authorize_admin_pipeline!
def show
- redirect_to namespace_project_settings_pipelines_path(@project.namespace, @project)
+ redirect_to namespace_project_settings_ci_cd_pipelines_path(@project.namespace, @project)
end
def update
if @project.update_attributes(update_params)
flash[:notice] = "CI/CD Pipelines settings for '#{@project.name}' were successfully updated."
- redirect_to namespace_project_settings_pipelines_path(@project.namespace, @project)
+ redirect_to namespace_project_settings_ci_cd_pipelines_path(@project.namespace, @project)
else
render 'show'
end