refactor: Renderiza o dashboard geral.
This commit is contained in:
parent
aa9affa16d
commit
16b3e0dd17
|
|
@ -13,7 +13,6 @@ class ClientController extends Controller
|
||||||
public function __construct(ClientService $userService) {}
|
public function __construct(ClientService $userService) {}
|
||||||
public function dashboard(Request $request): View
|
public function dashboard(Request $request): View
|
||||||
{
|
{
|
||||||
$clients = Client::all();
|
return view('dashboard');
|
||||||
return view('dashboard', ['clients' => $clients]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue