mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2026-01-26 10:23:17 +00:00
createdBy fields added
This commit is contained in:
@@ -57,7 +57,7 @@ class MeetupPolicy extends BasePolicy
|
||||
*/
|
||||
public function update(User $user, Meetup $meetup)
|
||||
{
|
||||
return false;
|
||||
return $meetup->created_by === $user->id;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user