Fix route name.

This commit is contained in:
James Cole 2024-03-07 06:01:39 +01:00
parent 930a08ec90
commit 7a134781f2
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -104,7 +104,7 @@ Route::group(
'as' => 'api.v2.accounts.',
],
static function (): void {
Route::get('', ['uses' => 'IndexController@index', 'as' => 'show']);
Route::get('', ['uses' => 'IndexController@index', 'as' => 'index']);
Route::get('{account}', ['uses' => 'ShowController@show', 'as' => 'show']);
}
);