obtaining the users we follow
This commit is contained in:
parent
02e1b28e52
commit
b5d43683f8
@ -8,6 +8,9 @@ class HomeController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
// obtain following users
|
||||
dd(auth()->user()->following->pluck("id")->toArray());
|
||||
|
||||
return view("home");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user