idn_app/app/models/dynamic_content.rb
2016-07-29 20:23:40 +02:00

14 lines
251 B
Ruby
Executable File

# -*- 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