I have laravel package in its routes. I want to add two guards if any user related to these guard is authenticated it should go on that route but it is not working. if i remove customer route the default guard work if I remove default guard then customer route work don't know what is the problem
routes
Route::group(['namespace' => 'Coldxpress\Ticket\Http\Controllers'], function () {
Route::group(['middleware' => ['web','auth:customer']], function () {
Route::group(['prefix' => 'tickets'], function () {
Route::get('/{filter}', 'TicketController@index')->name('tickets.index');
Route::post('/store_replies_image', 'TicketController@uploadReplyImage');
});
});
});
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3lwIClr
via IFTTT
Aucun commentaire:
Enregistrer un commentaire