Sha256: 11061252f90dd017960a0134ecbf6da95ae53339d85757781f0c71b28d6f57d2

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 Bytes

Contents

module Gluttonberg
  # Page content for html content (wisiwyg). All content/localization related functionality 
  # is provided Content::Block mixin 
  # Stores user input in :text column all other information is just meta information
  class HtmlContent  < ActiveRecord::Base
    include Content::Block
    self.table_name = "gb_html_contents"
    attr_accessible :text

    is_localized do
      attr_accessible :text
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/models/gluttonberg/html_content.rb
gluttonberg-core-3.0.1 app/models/gluttonberg/html_content.rb
gluttonberg-core-3.0.0 app/models/gluttonberg/html_content.rb