chien_app/app/models/dynamic_content.rb
Nicolas Bally a1bba5a836 initial
2015-04-16 23:54:52 +02:00

14 lines
245 B
Ruby

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