abritium_app/app/models/quote_content.rb
Nicolas Bally a92bd4db72 initial
2019-05-08 11:30:56 +02: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