mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-02-06 11:38:09 +00:00
13 lines
273 B
Ruby
13 lines
273 B
Ruby
# 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
|