pmr_app/app/models/dynamic_content.rb
Nicolas Bally fea44b6c50 manys
2016-02-16 10:32:04 +01: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