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