olwen_techno_app/app/models/dynamic_content.rb
Nicolas Bally 2efaf19094 initial
2018-08-30 22:44:43 +02:00

18 lines
249 B
Ruby

# -*- encoding : utf-8 -*-
class DynamicContent < ActiveRecord::Base
has_one :portlet, :as => :content, :dependent => :destroy
belongs_to :item
NAMES = {
"produits" => "Produits",
}
def self.picto
"cog"
end
end