orbit-basic/app/models/layout.rb

8 lines
146 B
Ruby

class Layout
include MongoMapper::Document
key :name, String, :required => true, :index => true
key_i18n :content, String
end