mirror of
https://github.com/hanzoai/forum.git
synced 2026-11-02 23:44:53 +00:00
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
|