Add full path to policy

This commit is contained in:
mojosef 2018-07-25 11:13:58 +01:00
parent 92593ca011
commit 2fa26d8ba6
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ Gates may also be defined using a `Class@method` style callback string, like con
{
$this->registerPolicies();
Gate::define('update-post', 'PostPolicy@update');
Gate::define('update-post', 'App\Policies\PostPolicy@update');
}
#### Resource Gates