From e3c72c3e22d2bcb2bf41263412f3dff970a3a46a Mon Sep 17 00:00:00 2001 From: Jevan <22316055+jevantang@users.noreply.github.com> Date: Wed, 29 Jan 2025 01:58:53 +0800 Subject: [PATCH] fix: route stub --- src/Commands/stubs/routes/api.stub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/stubs/routes/api.stub b/src/Commands/stubs/routes/api.stub index 8e8eabf..16a7995 100755 --- a/src/Commands/stubs/routes/api.stub +++ b/src/Commands/stubs/routes/api.stub @@ -21,7 +21,7 @@ use $PLUGIN_NAMESPACE$\$STUDLY_NAME$\Http\Controllers\SettingController; | */ -// Route::prefix('$KEBAB_NAME$')->name('$KEBAB_NAME$.')->group([], function() { +// Route::prefix('$KEBAB_NAME$')->name('$KEBAB_NAME$.')->group(function() { // Route::get('/', [SettingController::class, 'index'])->name('index'); // Route::middleware('auth:api')->get('auth', function (Request $request) {