pw_app/app/models/html_content.rb
Nicolas Bally 2a1d9dadc7 initial
2015-10-26 15:00:29 +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