mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-28 11:10:04 +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)
|