Fix wrong template rendered when CI/CD settings aren't update successfully
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
da0dd7ec96
commit
42855f116a
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Fix wrong template rendered when CI/CD settings aren't update successfully
|
||||
merge_request: 7665
|
||||
author:
|
Loading…
Reference in New Issue