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
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2UI5juf
via IFTTT
Aucun commentaire:
Enregistrer un commentaire