fixed bug with sub_category

This commit is contained in:
Senad Uka
2015-01-18 14:53:07 +01:00
parent ba279cd288
commit c003584f7e

View File

@@ -1,5 +1,5 @@
class SubCategory < ActiveRecord::Base
belongs_to :category
has_many :items
belongs_to :sub_category
end