I've been working with Laravel Entrust for several days. It turns out that when I try to validate the roles from the routes, I get the following error:
Class App\Http\Zizaco\Entrust\Middleware\EntrustRole does not exist
Here is my validation from the routes:
Route::group(['prefix' => '/', 'middleware' => ['role:admin']], function(){
//Mis rutas
});
I have done everything, just like the original documentation and I really do not know where I am wrong or making a bad step.