update api authenticate
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
class Api::BookingsController < Api::ApiController
|
class Api::BookingsController < Api::ApiController
|
||||||
skip_before_action :authenticate
|
# skip_before_action :authenticate
|
||||||
#Show customer by ID
|
#Show customer by ID
|
||||||
def index
|
def index
|
||||||
@customer = Customer.find_by(params[:id])
|
@customer = Customer.find_by(params[:id])
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
class Api::CheckInProcessController < Api::ApiController
|
class Api::CheckInProcessController < Api::ApiController
|
||||||
|
# before_action :authenticate
|
||||||
def check_in_time
|
def check_in_time
|
||||||
if params[:dining_id]
|
if params[:dining_id]
|
||||||
dining_facility = DiningFacility.find(params[:dining_id])
|
dining_facility = DiningFacility.find(params[:dining_id])
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
class Api::OrdersController < Api::ApiController
|
class Api::OrdersController < Api::ApiController
|
||||||
skip_before_action :authenticate
|
# skip_before_action :authenticate
|
||||||
#Description
|
#Description
|
||||||
# This API show current order details
|
# This API show current order details
|
||||||
# Input Params - order_id
|
# Input Params - order_id
|
||||||
|
|||||||
Reference in New Issue
Block a user