DONE: use flexible name for api call in frontend

This commit is contained in:
ISMAIL MASSERAN
2026-08-09 10:18:26 +08:00
parent 3d3a7f35f9
commit 87e2aaad50
106 changed files with 594 additions and 111 deletions
+3 -1
View File
@@ -25,6 +25,8 @@ class AuthServiceProvider extends ServiceProvider
{
$this->registerPolicies();
//
Gate::define('impersonate', function ($user) {
return $user->canImpersonate();
});
}
}