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

This commit is contained in:
phyusin
2018-05-08 17:28:19 +06:30
12 changed files with 638 additions and 251 deletions

View File

@@ -81,7 +81,7 @@ class MenuCategory < ApplicationRecord
def get_sub_category
menu_category = MenuCategory.find_by_menu_category_id(self.id)
if menu_category
if !menu_category.nil?
return true
end
return false