payrejardi_app/app/models/dynamic_content.rb
Nicolas Bally 3233232f4e initial
2019-02-01 12:07:55 +01:00

18 lines
245 B
Ruby

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