diff --git a/app/controllers/projects/pipelines_settings_controller.rb b/app/controllers/projects/pipelines_settings_controller.rb index e7b96887c9cea5c95bfeda77e8a00ce73d7ff61f..1b63ab2352f0f09c0a92090d0c65e0ac2f3d81e9 100644 --- a/app/controllers/projects/pipelines_settings_controller.rb +++ b/app/controllers/projects/pipelines_settings_controller.rb @@ -8,10 +8,9 @@ class Projects::PipelinesSettingsController < Projects::ApplicationController def update if @project.update_attributes(update_params) - flash[:notice] = "CI/CD Pipelines settings for '#{@project.name}' was successfully updated." + flash[:notice] = "CI/CD Pipelines settings for '#{@project.name}' were successfully updated." redirect_to( namespace_project_pipelines_settings_path(@project.namespace, @project), - notice: "CI/CD Pipelines settings for '#{@project.name}' was successfully updated." ) else render 'index'