Sha256: e296ae1413aed9c5c874cf3066b4405bc0e07a373a520f9c9ce4626d417af5d4

Contents?: true

Size: 440 Bytes

Versions: 3

Compression:

Stored size: 440 Bytes

Contents

module Gluttonberg
  # Page content for select dropdown. All content related functionality 
  # is provided Content::Block mixin 
  # Stores user input in :text column all other information is just meta information
  class SelectContent  < ActiveRecord::Base
    include Content::Block
    self.table_name = "gb_select_contents"
    attr_accessible :text, :section_name
    is_versioned
    delegate :current_user_id, :to => :page
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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