Receiving this error when trying to view the pretty-routes view.
Class Auth\LoginController does not exist (View: /home/vagrant/project/vendor/garygreen/pretty-routes/views/routes.blade.php)
Tracks back to this file views/routes.blade.php in this package:
<?php echo e(implode(', ', array_map($middlewareClosure, array_merge($route->middleware(), $route->controllerMiddleware())))); ?>
Seems to be caused by a group having middleware applied to it.
For example:
Route::prefix('submit')->middleware('auth')->group(function () {
Route::get('/', 'SubmitController@showSubmit')->name('submit');
});
Running Laravel 5.5.24, fresh install of this package.
Receiving this error when trying to view the pretty-routes view.
Tracks back to this file
views/routes.blade.phpin this package:Seems to be caused by a group having middleware applied to it.
For example:
Running Laravel 5.5.24, fresh install of this package.