discourse/plugins/discourse-adplugin/app/controllers/house_ad_settings_controller.rb
2025-07-22 15:07:59 +02:00

12 lines
273 B
Ruby
Vendored

# frozen_string_literal: true
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