chaix_app/app/models/dynamic_content.rb
Nicolas Bally 6a8e471b82 intial
2019-02-01 13:53:57 +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