feat: remove user directory

The user directory feature has been removed. This means users can no longer see the user list unless they have admin privileges.
This commit is contained in:
2022-09-04 13:27:56 +01:00
parent 78bc9b6bf9
commit 30f0ef6586
4 changed files with 0 additions and 42 deletions

View File

@@ -42,12 +42,6 @@ class ProfileController extends Controller
$this->profileService = $profileService;
}
public function index()
{
return view('dashboard.user.directory')
->with('users', User::with('profile', 'bans')->paginate(9));
}
public function showProfile()
{
// TODO: Come up with cleaner social media solution, e.g. social media object