app/serializers/landable/template_serializer.rb in landable-1.7.1.rc1 vs app/serializers/landable/template_serializer.rb in landable-1.8.0
- old
+ new
@@ -1,9 +1,9 @@
module Landable
class TemplateSerializer < ActiveModel::Serializer
- attributes :id, :name, :body, :description
- attributes :thumbnail_url, :slug, :is_layout, :editable
- attributes :file, :is_publishable
+
+ attributes :body, :deleted_at, :description, :editable, :file, :id,
+ :is_layout, :is_publishable, :name, :slug, :thumbnail_url
embed :ids
has_one :published_revision
end
end