index

in app/controllers/api/products_controller.rb [2:6]


    def index
      products = Product.includes(:product_kind).all
      render json: products
    end