mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update RelationshipController
This commit is contained in:
parent
59340dee69
commit
b10e03d092
1 changed files with 5 additions and 1 deletions
|
@ -18,7 +18,11 @@ trait RelationshipSettings
|
||||||
|
|
||||||
public function relationshipsHome()
|
public function relationshipsHome()
|
||||||
{
|
{
|
||||||
return view('settings.relationships.home');
|
$profile = Auth::user()->profile;
|
||||||
|
$following = $profile->following()->simplePaginate(10);
|
||||||
|
$followers = $profile->followers()->simplePaginate(10);
|
||||||
|
|
||||||
|
return view('settings.relationships.home', compact('profile', 'following', 'followers'));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue