Sha256: e39350b0e694c32416b2cf833bbaa1c0364c7f994babe22d4b0d1ed3dc2b3deb

Contents?: true

Size: 178 Bytes

Versions: 1

Compression:

Stored size: 178 Bytes

Contents

module BrilliantCms  
  class BlogPost < BrilliantCms::Entry
    searchable_attributes :title, :body

    content_attr :body, :text

    validates :body, presence: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brilliant_cms-0.0.1 app/models/brilliant_cms/blog_post.rb