php_app/app/models/html_content.rb
Nicolas Bally 5cf3a3e83d initial
2014-11-25 22:56:20 +01:00

12 lines
247 B
Ruby

# -*- encoding : utf-8 -*-
class HtmlContent < ActiveRecord::Base
has_one :portlet, :as => :content, :dependent => :destroy
STYLES = []#[["Style 1",1], ["Style 2",2]]
CONTENT_TYPES = ["haml","html"]
def self.picto
"code"
end
end