class ProductController < WithOrderController

  def show
    @product = Product.visible_to_user.find(params[:id])
    @catalogue_category_path = @product.catalogue_category.self_and_ancestors.select([:id, :title]).reverse.drop(1)
  end

end
