Автопарк, использующий промежуточное ПО в маршрутах, но я не могу найти в проекте $ routemiddle ... даже в kernel.php ... где я могу его найти?
Laravel Версия: 5.7
Версия паспорта: 7.5
CMS: FleetCart
Ядро.php
namespace FleetCart\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
\FleetCart\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\FleetCart\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
\FleetCart\Http\Middleware\TrustProxies::class,
\FleetCart\Http\Middleware\RedirectToInstallerIfNotInstalled::class,
\FleetCart\Http\Middleware\RunUpdater::class,
];
/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups = [
'web' => [
\FleetCart\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\FleetCart\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
'api' => [
'throttle:60,1',
'bindings',
],
];
/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array
*/
protected $routeMiddleware = [
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
];
}
\ Modules \ Accounts \ Routes \ public.php
Route::middleware('auth')->group(function () {
Route::get('account', 'AccountDashboardController@index')->name('account.dashboard.index');
Route::get('account/profile', 'AccountProfileController@edit')->name('account.profile.edit');
Route::put('account/profile', 'AccountProfileController@update')->name('account.profile.update');
Route::get('account/orders', 'AccountOrderController@index')->name('account.orders.index');
Route::get('account/orders/{id}', 'AccountOrderController@show')->name('account.orders.show');
Route::get('account/wishlist', 'AccountWishlistController@index')->name('account.wishlist.index');
Route::delete('account/wishlist/{productId}', 'AccountWishlistController@destroy')->name('account.wishlist.destroy');
Route::get('account/reviews', 'AccountReviewController@index')->name('account.reviews.index');
});
Откуда появилось промежуточное программное обеспечение ('auth')? нет никаких других файлов ядра или каких-либо промежуточных представлений. ничего.....!!
Нужна помощь!