app/serializers/landable/template_serializer.rb in landable-1.7.0 vs app/serializers/landable/template_serializer.rb in landable-1.7.1.rc1

- old
+ new

@@ -1,5 +1,10 @@ module Landable class TemplateSerializer < ActiveModel::Serializer - attributes :id, :name, :body, :description, :thumbnail_url, :slug, :is_layout, :editable, :file + attributes :id, :name, :body, :description + attributes :thumbnail_url, :slug, :is_layout, :editable + attributes :file, :is_publishable + + embed :ids + has_one :published_revision end end