lib/generators/scrivito/page/templates/model.erb in scrivito_sdk-1.5.5 vs lib/generators/scrivito/page/templates/model.erb in scrivito_sdk-1.6.0.rc1
- old
+ new
@@ -1,8 +1,9 @@
class <%= class_name %> < Obj
attribute :title, :string
attribute :body, :widgetlist
attribute :child_order, :referencelist
+ attribute :tags, :stringlist
<% attributes.each do |attr| -%>
<%= Scrivito::GeneratorHelper.attribute_definition(attr) %>
<% end -%>
end