Commit 42855f11 authored by Rémy Coutable's avatar Rémy Coutable

Fix wrong template rendered when CI/CD settings aren't update successfully

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent da0dd7ec
......@@ -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
......
---
title: Fix wrong template rendered when CI/CD settings aren't update successfully
merge_request: 7665
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment