From c43f0fd1a585dc7426c3ea781d843e0487391df8 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 29 Aug 2024 11:02:58 +0200 Subject: [PATCH] Remove edit route from searchable array --- app/Member/Member.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Member/Member.php b/app/Member/Member.php index 565e168d..0deab0da 100644 --- a/app/Member/Member.php +++ b/app/Member/Member.php @@ -538,7 +538,6 @@ class Member extends Model implements Geolocatable 'group_name' => $this->group->inner_name ?: $this->group->name, 'links' => [ 'show' => route('member.show', ['member' => $this], false), - 'edit' => route('member.edit', ['member' => $this], false), ], 'age_group_icon' => $this->ageGroupMemberships->first()?->subactivity->slug, 'is_leader' => $this->leaderMemberships()->count() > 0,