mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 00:27:58 +08:00
Add embed class name setup for embeddable hosts
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
class EmbeddableHostSerializer < ApplicationSerializer
|
||||
|
||||
TO_SERIALIZE = [:id, :host, :path_whitelist, :category_id]
|
||||
TO_SERIALIZE = [:id, :host, :path_whitelist, :class_name, :category_id]
|
||||
|
||||
attributes *TO_SERIALIZE
|
||||
|
||||
|
Reference in New Issue
Block a user