mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 02:59:07 +08:00
9 lines
195 B
Ruby
Vendored
9 lines
195 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
module DiscourseAssign
|
|
module TopicExtension
|
|
extend ActiveSupport::Concern
|
|
|
|
prepended { has_one :assignment, as: :target, dependent: :destroy }
|
|
end
|
|
end
|