Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2017-01-20 18:00:19 +0300
committerOswaldo Ferreira <oswaldo@gitlab.com>2017-01-23 21:22:33 +0300
commitae057666bf9894660ce1cb480595f2686f1d9ae5 (patch)
treef2c92373defc75d58bad3d861548e512648cc4f7 /app/services/application_settings/update_service.rb
parent3a54128d1f1ac1fa0779fe7309bd043ffa947ab5 (diff)
EE backport for new application settings service
Diffstat (limited to 'app/services/application_settings/update_service.rb')
-rw-r--r--app/services/application_settings/update_service.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/services/application_settings/update_service.rb b/app/services/application_settings/update_service.rb
new file mode 100644
index 00000000000..61589a07250
--- /dev/null
+++ b/app/services/application_settings/update_service.rb
@@ -0,0 +1,7 @@
+module ApplicationSettings
+ class UpdateService < ApplicationSettings::BaseService
+ def execute
+ @application_setting.update(@params)
+ end
+ end
+end