Remove duplicate notices

This commit is contained in:
Kamil Trzcinski
2015-09-14 13:59:19 +02:00
parent 09bd8a8b0d
commit ec91340240
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ module Ci
def update
if @service.update_attributes(service_params)
redirect_to edit_ci_project_service_path(@project, @service.to_param), notice: 'Service was successfully updated.'
redirect_to edit_ci_project_service_path(@project, @service.to_param)
else
render 'edit'
end
-6
View File
@@ -1,9 +1,3 @@
.container
- if alert || notice
- if alert
.alert.alert-danger= alert
- if notice
.alert.alert-info= notice
- if current_user && current_user.is_admin? && Ci::Runner.count.zero?
= render 'ci/shared/no_runners'