Remove edit route from searchable array

This commit is contained in:
philipp lang 2024-08-29 11:02:58 +02:00
parent c058a1b78a
commit 18a786bf1e
1 changed files with 0 additions and 1 deletions

View File

@ -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,