Skip to content

Firefly III: a personal finances manager

Fix route name.

James Cole7a134781f20e
diff --git a/routes/api.php b/routes/api.php
index f74176c2ed..0bf6c67c65 100644
--- a/routes/api.php
+++ b/routes/api.php
@@ -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']);
}
);