Change how we style redirect_to
This commit is contained in:
parent
90480359d5
commit
545cecb28c
|
@ -9,9 +9,7 @@ class Projects::PipelinesSettingsController < Projects::ApplicationController
|
|||
def update
|
||||
if @project.update_attributes(update_params)
|
||||
flash[:notice] = "CI/CD Pipelines settings for '#{@project.name}' were successfully updated."
|
||||
redirect_to(
|
||||
namespace_project_pipelines_settings_path(@project.namespace, @project),
|
||||
)
|
||||
redirect_to namespace_project_pipelines_settings_path(@project.namespace, @project)
|
||||
else
|
||||
render 'index'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue