feat build-files route.php: add new methods for admin pages

This commit is contained in:
prplwtf 2024-08-22 14:46:35 +02:00
parent cfdb9af3a8
commit 452d654028

View file

@ -1 +1 @@
Route::group(['prefix' => 'extensions/[id]'], function () {Route::get('/', [Admin\Extensions\[id]\[id]ExtensionController::class, 'index'])->name('admin.extensions.[id].index');Route::patch('/', [Admin\Extensions\[id]\[id]ExtensionController::class, 'update']);Route::post('/', [Admin\Extensions\[id]\[id]ExtensionController::class, 'post']);});
Route::group(['prefix' => 'extensions/[id]'], function () {Route::get('/', [Admin\Extensions\[id]\[id]ExtensionController::class, 'index'])->name('admin.extensions.[id].index');Route::patch('/', [Admin\Extensions\[id]\[id]ExtensionController::class, 'update']);Route::post('/', [Admin\Extensions\[id]\[id]ExtensionController::class, 'post']);Route::put('/', [Admin\Extensions\[id]\[id]ExtensionController::class, 'put']);Route::delete('/', [Admin\Extensions\[id]\[id]ExtensionController::class, 'delete']);Route::options('/', [Admin\Extensions\[id]\[id]ExtensionController::class, 'options']);});