fixed bug with sub_category
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
class SubCategory < ActiveRecord::Base
|
class SubCategory < ActiveRecord::Base
|
||||||
belongs_to :category
|
belongs_to :category
|
||||||
has_many :items
|
has_many :items
|
||||||
belongs_to :sub_category
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user