Closed MarekMaras closed 9 years ago
$clients = Client::all(); $data = array( 'clients' => $clients ); return $this->theme->scope('admin.clients.index', $data)->render();
How to I access "$clients" in my view? Or how to I even pass it to the view so I can use blade "foreach" or any other methods...
Thanks!
return $this->theme->of('admin.clients.index', $data)->render();
How to I access "$clients" in my view? Or how to I even pass it to the view so I can use blade "foreach" or any other methods...
Thanks!