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:
Rémy Coutable 2016-11-22 16:12:47 +01:00
parent da0dd7ec96
commit 42855f116a
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,4 @@
---
title: Fix wrong template rendered when CI/CD settings aren't update successfully
merge_request: 7665
author: