orbit-basic/app/models/page.rb

11 lines
197 B
Ruby

class Page < Item
include LayoutSupport
key_i18n :content, String
key :layout_name, String, :required => true
key :layout_id, String, :required => true
belongs_to :layout
end