clair_app/app/models/quote_content.rb
Nicolas Bally c2f8ec2efb initial
2020-10-10 00:28:38 +02:00

17 lines
280 B
Ruby

# -*- encoding : utf-8 -*-
class QuoteContent < ApplicationRecord
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