Am using zizaco entruest rbac and these are my web routes causing error
Route::group(['prefix' => 'user-management', 'middleware' => ['permission:admin']], function() {
Route::get('/users', function(){
return "sds";
});
});
When i try navigating to
http://localhost:8000/user-management/users
am getting an error
Symfony \ Component \ HttpKernel \ Exception \ HttpException
No message
Where could i be wrong
I have commented all other routes and found this to be the culprit
I have setup my rbac as explained
https://github.com/Zizaco/entrust