add methos to api customer controller
This commit is contained in:
@@ -83,6 +83,8 @@ scope "(:locale)", locale: /en|mm/ do
|
||||
#Current active bookings
|
||||
resources :bookings, only: [:index, :show, :create, :update]
|
||||
resources :customers
|
||||
# get customer by phone
|
||||
get "get_customer_by_phone" => "customers#get_customer_by_phone"
|
||||
#get customer details by order items
|
||||
get "customers/get_order/:id" => "customers#get_customer_order"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user