index

in app/controllers/api/orders_controller.rb [2:5]


    def index
      render json: Order.includes(:customer).all
    end