Skip to content

Commit

Permalink
[test] Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
solomon-ochepa committed Aug 22, 2024
1 parent b54630e commit f4d4c7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ use Illuminate\Support\Facades\Route;
use Modules\Blog\Http\Controllers\BlogController;

Route::middleware(['auth:sanctum'])->prefix('v1')->group(function () {
Route::apiResource('blogs', BlogController::class);
Route::apiResource('blogs', BlogController::class)->names('$PLURAL_LOWER_NAME$');
});
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
use Illuminate\Support\Facades\Route;
use Modules\Blog\Http\Controllers\BlogController;

Route::group([], function () {
Route::resource('blogs', BlogController::class);
Route::middleware(['auth', 'verified'])->group(function () {
Route::resource('blogs', BlogController::class)->names('blogs');
});

0 comments on commit f4d4c7d

Please sign in to comment.