employee login and authentication with session
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class Api::Restaurant::ZonesController < ActionController::API
|
||||
|
||||
def index
|
||||
render json: Zone.where("is_active = true")
|
||||
render json: Zone.includes([:tables, :rooms]).where("is_active = true")
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user