Sha256: 1bd84e71de416f69deea990fdf7e766883989c78cc92e7c2d025b489de5d55a6

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

module Humpyard
  module Elements 
    ####
    # Humpyard::Elements::TextElement is a model of a text element.    
    class NewsElement < ::ActiveRecord::Base
      acts_as_humpyard_element :system_element => true
      
      attr_accessible :news_page, :news_page_id
  
      belongs_to :news_page, :class_name => 'Humpyard::Pages::NewsPage'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
humpyard-0.0.1 app/models/humpyard/elements/news_element.rb