22 lines
547 B
PHP
22 lines
547 B
PHP
|
<?php
|
||
|
|
||
|
use Illuminate\Support\Facades\Route;
|
||
|
|
||
|
Route::get('importer', [
|
||
|
'as' => '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',
|
||
|
]);
|