FleetCart/Modules/Compare/Http/Controllers/CompareRelatedProductController.php
2023-12-03 14:07:47 +00:00

22 lines
402 B
PHP

<?php
namespace Modules\Compare\Http\Controllers;
use Modules\Compare\Compare;
use Illuminate\Http\Response;
class CompareRelatedProductController
{
/**
* Display a listing of the resource.
*
* @param Compare $compare
*
* @return Response
*/
public function index(Compare $compare)
{
return $compare->relatedProducts();
}
}