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

25 lines
471 B
PHP

<?php
namespace Modules\Brand\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Modules\Brand\Entities\Brand;
class BrandController
{
/**
* Display a listing of the resource.
*
* @param Request $request
*
* @return Response
*/
public function index()
{
return view('public.brands.index', [
'brands' => Brand::with('files')->get(),
]);
}
}