peractus_app/app/models/dynamic_content.rb
Nicolas Bally a5cfbad091 initial
2018-08-06 16:55:14 +02:00

19 lines
258 B
Ruby

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