Index: vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php (date 1520624733000) +++ vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php (date 1520624733000) @@ -395,6 +395,8 @@ return $this->abilities[$ability]; } + throw new \LogicException("Permission/ability \"$ability\" not defined."); + return function () { return false; };