-
app/Http/Controllers/Web/ProfileController.php
Open in GitHubuse App\Models\Organization; class ProfileController { // protected function organization(Organization $organization): View { $members = $organization->members->filter(fn (User $user): bool => $user->isRegistered()); return view('web.profile.organization', [ 'organization' => $organization, 'members' => $members, ]); } }