Skip to content

Commit

Permalink
fix(route): Add missing route names
Browse files Browse the repository at this point in the history
  • Loading branch information
falkia34 committed Aug 13, 2024
1 parent 68a4f00 commit 5f9c332
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,20 @@
'prefix' => 'api',
'namespace' => 'App\Http\Controllers\Api',
], function () {
Route::get('/', 'CommonController@greet');
Route::get('/status', 'CommonController@checkHealth');
Route::get('/', 'CommonController@greet')
->name('greet');
Route::get('/status', 'CommonController@checkHealth')
->name('status');

Route::group([
'as' => 'v1.',
'prefix' => 'v1',
'namespace' => 'V1',
], function () {
Route::get('/', 'CommonController@greet');
Route::get('blobs/{blob}', 'BlobController');
Route::get('/', 'CommonController@greet')
->name('greet');
Route::get('blobs/{blob}', 'BlobController')
->name('blobs.show');

Route::group(['middleware' => ['auth:api', 'verified']], function () {
Route::apiResources([
Expand Down

0 comments on commit 5f9c332

Please sign in to comment.