9 lines
149 B
Ruby
9 lines
149 B
Ruby
class Api::BookingsController < ActionController::API
|
|
|
|
|
|
#Show customer by ID
|
|
def create
|
|
@customer = Customer.find_by(params[:id])
|
|
end
|
|
end
|