diff --git a/app/Policies/FormPolicy.php b/app/Policies/FormPolicy.php index eb7b90f..720b743 100644 --- a/app/Policies/FormPolicy.php +++ b/app/Policies/FormPolicy.php @@ -45,7 +45,7 @@ class FormPolicy */ public function create(User $user) { - return $this->user->can('admin.hiring.forms'); + return $user->can('admin.hiring.forms'); } /** @@ -69,7 +69,7 @@ class FormPolicy */ public function delete(User $user, Form $form) { - return $this->user->can('admin.hiring.forms'); + return $user->can('admin.hiring.forms'); } /**