Backport changes in app/services/application_settings/update_service.rb

This commit is contained in:
Mario de la Ossa 2018-06-04 13:37:43 -06:00
parent 0c994215af
commit c75baaa4ba
No known key found for this signature in database
GPG key ID: 20CA8F4C6A20761B

View file

@ -1,5 +1,7 @@
module ApplicationSettings
class UpdateService < ApplicationSettings::BaseService
attr_reader :params, :application_setting
def execute
update_terms(@params.delete(:terms))