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