Policy changed

This commit is contained in:
HolgerHatGarKeineNode
2023-03-17 10:24:35 +01:00
parent ce2102c0e3
commit d9bf8a730a
3 changed files with 8 additions and 8 deletions

View File

@@ -97,7 +97,7 @@
</x-button>
</div>
@endif
@if(auth()->check() && auth()->user()->meetups->contains($row))
@can('update', $row)
<div>
<x-button
:href="route('meetup.meetup.form', ['meetup' => $row->id, 'country' => $country])"
@@ -108,5 +108,5 @@
{{ __('Edit') }}
</x-button>
</div>
@endif
@endcan
</div>