Add embed class name setup for embeddable hosts

This commit is contained in:
Pat David
2017-05-05 18:08:18 -04:00
committed by Robin Ward
parent 9b84cd832c
commit 4bf8548dc5
8 changed files with 18 additions and 5 deletions

View File

@ -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