app/controllers/facility_orders_controller.rb
# GET /facility/1/orders
# Provided by NewInprocessController
# def index
# end
GET /facility/1/orders
Provided by NewInprocessController
def index
end
GET / facility / 1 / orders Provided by NewInprocessController def index end
def show
    @order_details = @order.order_details.ordered_by_parents
    @order_details = @order_details.includes(:reservation, :order_status, :product, :order)
    if params[:refresh]
      render partial: "order_table", locals: { order_details: @order_details }
    end
  end
def show @order_details = @order . order_details . ordered_by_parents @order_details = @order_details . includes ( :reservation , :order_status , :product , :order ) if params [ :refresh ] render partial : "order_table" , locals : { order_details : @order_details } end end
GET /facility/1/orders
Provided by NewInprocessController
def index
end
GET / facility / 1 / orders Provided by NewInprocessController def index end