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

18 lines
406 B
PHP
Raw Normal View History

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