idn_app/app/models/dynamic_content.rb
Nicolas Bally b5690bc6f2 initial
2016-07-25 15:55:11 +02:00

14 lines
251 B
Ruby

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