Commit 545cecb2 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Change how we style redirect_to

parent 90480359
......@@ -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
......
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