'admin.importer.index', 'uses' => 'ImporterController@index', 'middleware' => 'can:admin.importer.index', ]); Route::post('importer', [ 'as' => 'admin.importer.store', 'uses' => 'ImporterController@store', 'middleware' => 'can:admin.importer.create', ]); Route::get('download-csv', [ 'as' => 'admin.download_csv.index', 'uses' => 'DownloadCsvController@index', 'middleware' => 'can:admin.importer.index', ]);