FleetCart/Themes/Storefront/Http/Controllers/ProductGridController.php

21 lines
430 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?php
namespace Themes\Storefront\Http\Controllers;
2023-12-03 14:07:47 +00:00
use Illuminate\Http\Response;
2023-06-11 12:14:03 +00:00
class ProductGridController extends ProductIndexController
{
/**
* Display a listing of the resource.
*
* @param int $tabNumber
2023-12-03 14:07:47 +00:00
*
* @return Response
2023-06-11 12:14:03 +00:00
*/
public function index($tabNumber)
{
return $this->getProducts("storefront_product_grid_section_tab_{$tabNumber}");
}
}