heylium_app/app/models/dynamic_content.rb
Nicolas Bally 8e18de4077 initial
2016-08-03 00:22:29 +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