summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2016-11-22 17:12:01 +0000
committerAlejandro Rodríguez <alejorro70@gmail.com>2016-11-24 15:29:46 +0000
commit64de0e0aa573c5aca9fe03024d41c6d43c5616d6 (patch)
tree4eeeea4185c5f2e307242d75a5a1482e5945dbbf /app
parentf587a1f0f941b9653a40355943a54fbaf6a365fa (diff)
downloadgitlab-ce-64de0e0aa573c5aca9fe03024d41c6d43c5616d6.tar.gz
Merge branch '24804-wrong-render-index-should-be-render-show-in-projects-pipelinessettingscontroller-update' into 'master'
Resolve "Wrong `render 'index'`, should be `render 'show'` in `Projects::PipelinesSettingsController#update`" Closes #24804 See merge request !7665
Diffstat (limited to 'app')
-rw-r--r--app/controllers/projects/pipelines_settings_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipelines_settings_controller.rb b/app/controllers/projects/pipelines_settings_controller.rb
index 9136633b87a..53ce23221ed 100644
--- a/app/controllers/projects/pipelines_settings_controller.rb
+++ b/app/controllers/projects/pipelines_settings_controller.rb
@@ -17,7 +17,7 @@ class Projects::PipelinesSettingsController < Projects::ApplicationController
flash[:notice] = "CI/CD Pipelines settings for '#{@project.name}' were successfully updated."
redirect_to namespace_project_pipelines_settings_path(@project.namespace, @project)
else
- render 'index'
+ render 'show'
end
end