I can not understand how below code works in /var/www/html/routes/web.php
Route::get('/import', 'ImportController@ImportStats')->name('import.stats')->middleware('can:import.stats');
'/import', 'ImportController@ImportStats') this part is easy to understand,
but I do not know what name('import.stats') and ('can:import.stats') are....
thanks
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire