boissier_app/app/models/portlets/block_content.rb
Nicolas Bally 6abf7679fd initial
2011-05-14 13:36:30 +02:00

10 lines
282 B
Ruby

# -*- encoding : utf-8 -*-
class BlockContent < ActiveRecord::Base
has_many :portlets, :as => :content, :dependent => :destroy
has_many :blocks, :as => :blockable, :dependent => :destroy
validates :nbr_columns, :presence => true
STYLES = []#[["Style 1",1], ["Style 2",2]]
end