Files
sx-fc/app/controllers/api/bookings_controller.rb
2017-04-08 16:40:06 +06:30

9 lines
149 B
Ruby

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