Orbit/app/models/layout.rb

8 lines
135 B
Ruby

class Layout < CouchFoo::Base
property :name, String
property_i18n :content, String
validates_presence_of :name
end