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?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3hkDtut
via IFTTT

Aucun commentaire:

Enregistrer un commentaire