heylium_app/app/models/title_content.rb
Nicolas Bally 8e18de4077 initial
2016-08-03 00:22:29 +02:00

12 lines
280 B
Ruby
Executable File

# -*- encoding : utf-8 -*-
class TitleContent < ActiveRecord::Base
has_one :portlet, :as => :content, :dependent => :destroy
validates :content, :presence => true
LEVELS = [1,2,3,4,5,6]
STYLES = []#[["Style 1",1], ["Style 2",2]]
def self.picto
"header"
end
end