diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-20 14:48:23 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-20 14:48:23 +0200 |
commit | 90480359d5a23e2c01a16aef2679bb6720f3d751 (patch) | |
tree | 049f165a7356b9fd9c0704c1e6eb3893c1ade6a7 /app/controllers | |
parent | 52d5d7daf13291416050de23c8635dd59373f3b7 (diff) | |
download | gitlab-ce-90480359d5a23e2c01a16aef2679bb6720f3d751.tar.gz |
Use flash[:notice] only
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/pipelines_settings_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/projects/pipelines_settings_controller.rb b/app/controllers/projects/pipelines_settings_controller.rb index e7b96887c9c..1b63ab2352f 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' |