update model for menu
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
class ItemSet < ApplicationRecord
|
||||
has_many :menu_item_sets
|
||||
has_many :menu_items, through: :menu_item_sets
|
||||
|
||||
has_many :menu_instance_item_sets
|
||||
has_many :menu_item_instances, through: :menu_item_sets
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user