Sha256: 55efef13b42c17896ae9e18b75d537aa909f7abb3d7cc66b0d095aa674cd2f3f
Contents?: true
Size: 550 Bytes
Versions: 43
Compression:
Stored size: 550 Bytes
Contents
module Adminpanel class Categorization < ActiveRecord::Base include Adminpanel::Base belongs_to :product belongs_to :category def self.form_attributes [ {"product_id" => {"type" => "belongs_to", "model" => "Adminpanel::Product", "name" => "product_id"}}, {"category_id" => {"type" => "belongs_to", "model" => "Adminpanel::Category", "name" => "category_id"}}, ] end def self.display_name "Categorization" end # def self.icon # "icon-truck" # end end end
Version data entries
43 entries across 43 versions & 1 rubygems