app/api/locomotive/api/resources/page_resource.rb in locomotivecms-3.2.1 vs app/api/locomotive/api/resources/page_resource.rb in locomotivecms-3.3.0.rc1
- old
+ new
@@ -59,10 +59,11 @@
optional :editable_elements, type: Array
optional :cache_enabled
optional :seo_title
optional :meta_keywords
optional :meta_description
+ optional :display_settings
end
end
post do
authorize Page, :create?
@@ -95,9 +96,10 @@
optional :editable_elements, type: Array
optional :cache_enabled
optional :seo_title
optional :meta_keywords
optional :meta_description
+ optional :display_settings
end
end
put ':id' do
object_auth :update?
form = form_klass.new(current_site, page_params, page)