Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into oqs

This commit is contained in:
Yan
2017-06-05 13:29:01 +06:30
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
class MenuItem < ApplicationRecord
belongs_to :account
# belongs_to :account
belongs_to :menu_category, :optional => true
has_many :menu_item_instances
belongs_to :parent, :class_name => "MenuItem", foreign_key: "menu_item_id", :optional => true