summaryrefslogtreecommitdiff
path: root/app/controllers/admin/services_controller.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-05-05 18:18:39 +0200
committerJames Lopez <james@jameslopez.es>2017-05-05 18:18:39 +0200
commitf15466bd5bd2ce5390e392785d7c750c176acbec (patch)
tree03e8a18381d133ad71fc1aef311a5b706fd11bfd /app/controllers/admin/services_controller.rb
parent6ecf16b8f70335e1e6868b7c918cd031f5eb2f8d (diff)
downloadgitlab-ce-f15466bd5bd2ce5390e392785d7c750c176acbec.tar.gz
refactor code based on feedback
Diffstat (limited to 'app/controllers/admin/services_controller.rb')
-rw-r--r--app/controllers/admin/services_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/services_controller.rb b/app/controllers/admin/services_controller.rb
index a40ce3c2418..4c3d336b3af 100644
--- a/app/controllers/admin/services_controller.rb
+++ b/app/controllers/admin/services_controller.rb
@@ -16,7 +16,7 @@ class Admin::ServicesController < Admin::ApplicationController
def update
if service.update_attributes(service_params[:service])
- PropagateServiceTemplateWorker.perform_async(service.id) if service.active?
+ PropagateServiceTemplateWorker.perform_async(service.id) if service.active?
redirect_to admin_application_settings_services_path,
notice: 'Application settings saved successfully'