mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 22:54:00 +08:00
12 lines
244 B
Ruby
12 lines
244 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Chat
|
|
module BookmarkExtension
|
|
extend ActiveSupport::Concern
|
|
|
|
prepended { include TypeMappable }
|
|
|
|
class_methods { def polymorphic_class_mapping = { "ChatMessage" => Chat::Message } }
|
|
end
|
|
end
|