File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Commands/stubs/routes Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ use Illuminate\Support\Facades\Route;
44use $MODULE_NAMESPACE$\$STUDLY_NAME$\$CONTROLLER_NAMESPACE$\$STUDLY_NAME$Controller;
55
66Route::middleware(['auth:sanctum'])->prefix('v1')->group(function () {
7- Route::apiResource('$LOWER_NAME $', $STUDLY_NAME$Controller::class)->names('$LOWER_NAME$');
7+ Route::apiResource('$PLURAL_LOWER_NAME $', $STUDLY_NAME$Controller::class)->names('$LOWER_NAME$');
88});
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ use Illuminate\Support\Facades\Route;
44use $MODULE_NAMESPACE$\$STUDLY_NAME$\$CONTROLLER_NAMESPACE$\$STUDLY_NAME$Controller;
55
66Route::middleware(['auth', 'verified'])->group(function () {
7- Route::resource('$LOWER_NAME $', $STUDLY_NAME$Controller::class)->names('$LOWER_NAME$');
7+ Route::resource('$PLURAL_LOWER_NAME $', $STUDLY_NAME$Controller::class)->names('$LOWER_NAME$');
88});
You can’t perform that action at this time.
0 commit comments