mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Better index for accounts.
This commit is contained in:
@@ -104,6 +104,7 @@ Route::group(
|
||||
'as' => 'api.v2.accounts.',
|
||||
],
|
||||
static function (): void {
|
||||
Route::get('', ['uses' => 'IndexController@index', 'as' => 'show']);
|
||||
Route::get('{account}', ['uses' => 'ShowController@show', 'as' => 'show']);
|
||||
}
|
||||
);
|
||||
@@ -172,18 +173,6 @@ Route::group(
|
||||
}
|
||||
);
|
||||
|
||||
// infinite accounts list:
|
||||
Route::group(
|
||||
[
|
||||
'namespace' => 'FireflyIII\Api\V2\Controllers\Model\Account',
|
||||
'prefix' => 'v2/infinite/accounts',
|
||||
'as' => 'api.v2.infinite.accounts.',
|
||||
],
|
||||
static function (): void {
|
||||
Route::get('', ['uses' => 'IndexController@infiniteList', 'as' => 'list']);
|
||||
}
|
||||
);
|
||||
|
||||
// V2 API route for budgets and budget limits:
|
||||
Route::group(
|
||||
[
|
||||
|
Reference in New Issue
Block a user