app/serializers/landable/page_revision_serializer.rb in landable-1.7.1.rc1 vs app/serializers/landable/page_revision_serializer.rb in landable-1.8.0
- old
+ new
@@ -4,9 +4,10 @@
module Landable
class PageRevisionSerializer < ActiveModel::Serializer
attributes :id, :ordinal, :notes, :is_minor, :is_published
attributes :created_at, :updated_at
attributes :preview_path
+ attributes :screenshot_url
embed :ids
has_one :page
has_one :author, include: true, serializer: AuthorSerializer