FleetCart/Themes/Storefront/Http/Controllers/TabProductController.php
2023-12-03 14:07:47 +00:00

22 lines
496 B
PHP

<?php
namespace Themes\Storefront\Http\Controllers;
use Illuminate\Http\Response;
class TabProductController extends ProductIndexController
{
/**
* Display a listing of the resource.
*
* @param int $sectionNumber
* @param int $tabNumber
*
* @return Response
*/
public function index($sectionNumber, $tabNumber)
{
return $this->getProducts("storefront_product_tabs_{$sectionNumber}_section_tab_{$tabNumber}");
}
}