Skip to content

Commit

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

/*
*--------------------------------------------------------------------------
* API Routes
*--------------------------------------------------------------------------
*
* Here is where you can register API routes for your application. These
* routes are loaded by the RouteServiceProvider within a group which
* is assigned the "api" middleware group. Enjoy building your API!
*
*/

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

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

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

0 comments on commit 432bca7

Please sign in to comment.