lib/generators/scrivito/install/templates/app/models/page.rb in scrivito_sdk-0.50.1 vs lib/generators/scrivito/install/templates/app/models/page.rb in scrivito_sdk-0.60.0.rc1
- old
+ new
@@ -1,8 +1,5 @@
class Page < Obj
- #
- # Page (not binary)
- #
- # title :string
- # content :widgets
- #
+ attribute :title, :string
+ attribute :body, :widgetlist
+ attribute :child_order, :referencelist
end