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

21 lines
436 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 VerticalProductController extends ProductIndexController
{
/**
* Display a listing of the resource.
*
* @param int $columnNumber
2023-12-03 14:07:47 +00:00
*
* @return Response
2023-06-11 12:14:03 +00:00
*/
public function index($columnNumber)
{
return $this->getProducts("storefront_vertical_products_{$columnNumber}");
}
}