mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 09:33:46 +08:00
3d4faf3272
Automation (previously known as discourse-automation) is now a core plugin.
10 lines
262 B
Ruby
10 lines
262 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:automation, from: DiscourseAutomation::Automation) do
|
|
name "My Automation"
|
|
script "something_about_us"
|
|
trigger DiscourseAutomation::Triggers::TOPIC
|
|
last_updated_by_id Discourse.system_user.id
|
|
enabled true
|
|
end
|