Middleware de compras andando
This commit is contained in:
parent
9f6f36e2e6
commit
9259248caf
|
@ -38,6 +38,7 @@ class Kernel extends HttpKernel
|
|||
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||
\App\Http\Middleware\VerifyCsrfToken::class,
|
||||
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||
\App\Http\Middleware\Compras::class,
|
||||
],
|
||||
|
||||
'api' => [
|
||||
|
|
|
@ -76,6 +76,6 @@ Route::middleware('auth')->group( function() {
|
|||
});
|
||||
});
|
||||
|
||||
Route::middleware(['auth', 'comi_compras'])->group( function() {
|
||||
Route::middleware(['auth', 'compras'])->group( function() {
|
||||
Route::get('/compras/pedidos', 'ComprasController@pedidos')->name('compras.pedidos');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue