mardi 18 août 2020

web middleware is not working on routes in multii auth system laravel?

I have created multi auth system there are routes which i want to access by both of system. default auth can access it but newly created auth can not access it

web.php


    Route::group(['middleware' => ['web']], function () {
        Route::group(['prefix' => 'tickets'], function () {
            Route::get('/', 'TicketController@index')->name('tickets.index');
            Route::post('/store', 'TicketController@store')->name('tickets.store');
    
        });
        });

how both type of user can access these routes?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire