| Total Lines | 15 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | ->group(function () { |
||
| 8 | // this is pull middleware information from apis_generator.php config file |
||
| 9 | Route::group(['middleware' => array_merge(['web'], KMFunctionsFacade::getMiddleware() ?? [])], function () { |
||
|
|
|||
| 10 | Route::group([], function () { |
||
| 11 | // all apis table page |
||
| 12 | Route::get('/apis-generator/index', function () { |
||
| 13 | return view('ApisGenerator/index'); |
||
| 14 | })->name('apisGenerator.index'); |
||
| 15 | // create new api page |
||
| 16 | Route::get('/apis-generator/create', function () { |
||
| 17 | return view('ApisGenerator/create'); |
||
| 18 | })->name('apisGenerator.create'); |
||
| 19 | // post information route |
||
| 20 | Route::post('/apis-generator/create', "ApisGeneratorController@create") |
||
| 21 | ->name('apisGenerator.create.send'); |
||
| 22 | }); |
||
| 26 |