jipe_app/app/models/dynamic_content.rb
2018-02-27 23:03:37 +01:00

14 lines
230 B
Ruby

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