Fix syntax error

This commit is contained in:
Toby Zerner 2015-08-04 21:50:44 +09:30
parent 187517a9c7
commit 48df9bb678

View File

@ -28,7 +28,7 @@ class UsersServiceProvider extends ServiceProvider
$events->listen(ModelAllow::class, function (ModelAllow $event) {
if ($event->model instanceof User) {
if ($event->action === 'edit') &&
if ($event->action === 'edit' &&
$event->model->id == $event->actor->id) {
return true;
}