mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 17:53:55 +08:00
Adds a trigger to use when a topic closes. --------- Co-authored-by: OsamaSayegh <asooomaasoooma90@gmail.com>
3 lines
113 B
Ruby
Vendored
3 lines
113 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
DiscourseAutomation::Triggerable.add(DiscourseAutomation::Triggers::TOPIC_CLOSED)
|