delete shop scope in model
This commit is contained in:
@@ -20,7 +20,6 @@ class DiningFacility < ApplicationRecord
|
||||
ROOM_TYPE = "Room"
|
||||
|
||||
default_scope { order('order_by asc') }
|
||||
scope :shop, -> { where("shop_code=?",Shop.current_shop.shop_code) }
|
||||
|
||||
scope :active, -> {where(is_active: true)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user