Sha256: 175845cbc56969c1b2fcb53865234445f2a527218f8496e2b9a8346cfecdb9a5

Contents?: true

Size: 515 Bytes

Versions: 3

Compression:

Stored size: 515 Bytes

Contents

module Gluttonberg
  # Page content for Image content (asset id). All content related functionality 
  # is provided Content::Block mixin 
  # Stores user input in :asset_id column all other information is just meta information
  class ImageContent  < ActiveRecord::Base
    include Content::Block
    self.table_name = "gb_image_contents"
    belongs_to :asset, :class_name => "Gluttonberg::Asset"
    attr_accessible :asset_id, :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/image_content.rb
gluttonberg-core-3.0.1 app/models/gluttonberg/image_content.rb
gluttonberg-core-3.0.0 app/models/gluttonberg/image_content.rb