api_controller
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class Api::ApiController < ActionController::API
|
||||
include TokenVerification
|
||||
include ActionView::Rendering
|
||||
include ActionController::MimeResponds
|
||||
|
||||
before_action :core_allow
|
||||
|
||||
@@ -2,6 +2,7 @@ class Api::BillController < Api::ApiController
|
||||
|
||||
#Create invoice based on booking
|
||||
#Output and invoice
|
||||
|
||||
def create
|
||||
@status = false
|
||||
@error_message = "Order ID or Booking ID is require to request for a bill."
|
||||
|
||||
@@ -4,7 +4,6 @@ class Api::ShopsController < Api::ApiController
|
||||
|
||||
def index
|
||||
@shops = Shop.select('id,logo,name,shop_code,address,phone_no').all
|
||||
# render :json => {:name => "any name"}
|
||||
end
|
||||
|
||||
def show
|
||||
|
||||
Reference in New Issue
Block a user