controller creation

This commit is contained in:
Min Zeya Phyo
2017-04-08 16:40:06 +06:30
parent a74e5f9590
commit 225ebdb7ef
4 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
class Api::BookingsController < ActionController::API
#Show customer by ID
def create
@customer = Customer.find_by(params[:id])
end
end