2019-05-12 22:16:50 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-04-18 17:52:59 -04:00
|
|
|
module ::AdPlugin
|
|
|
|
class HouseAdSettingsController < ::ApplicationController
|
|
|
|
requires_plugin AdPlugin.plugin_name
|
|
|
|
|
|
|
|
def update
|
|
|
|
HouseAdSetting.update(params[:id], params[:value])
|
|
|
|
render json: success_json
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|