mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-02-10 13:34:49 +00:00
Allows creating ads within Discourse admin at Plugins > House Ads. Write the ads in html and style them with CSS in themes.
11 lines
242 B
Ruby
11 lines
242 B
Ruby
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
|