vita_app/app/models/dynamic_content.rb
Nicolas Bally 1d3af87d4c initial
2016-04-28 10:07:08 +02:00

14 lines
248 B
Ruby
Executable File

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