first upload all files
This commit is contained in:
17
Themes/Storefront/Http/Controllers/ProductGridController.php
Normal file
17
Themes/Storefront/Http/Controllers/ProductGridController.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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}");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user