chaix_app/app/models/quote_content.rb
Nicolas Bally 6a8e471b82 intial
2019-02-01 13:53:57 +01:00

17 lines
281 B
Ruby

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