mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Merge remote-tracking branch 'upstream/develop' into feat/expression-engine
This commit is contained in:
@@ -104,6 +104,7 @@ Route::group(
|
||||
'as' => 'api.v2.accounts.',
|
||||
],
|
||||
static function (): void {
|
||||
Route::get('', ['uses' => 'IndexController@index', 'as' => 'index']);
|
||||
Route::get('{account}', ['uses' => 'ShowController@show', 'as' => 'show']);
|
||||
}
|
||||
);
|
||||
@@ -173,7 +174,6 @@ Route::group(
|
||||
);
|
||||
|
||||
// V2 API route for budgets and budget limits:
|
||||
// TODO Validate from here down.
|
||||
Route::group(
|
||||
[
|
||||
'namespace' => 'FireflyIII\Api\V2\Controllers\Model',
|
||||
|
@@ -1204,11 +1204,11 @@ Route::group(
|
||||
// show groups:
|
||||
// TODO improve these routes
|
||||
Route::get('{what}/all', ['uses' => 'Transaction\IndexController@indexAll', 'as' => 'index.all'])->where(
|
||||
['what' => 'withdrawal|deposit|transfers|transfer']
|
||||
['what' => 'withdrawal|deposit|transfers|transfer|all']
|
||||
);
|
||||
|
||||
Route::get('{what}/{start_date?}/{end_date?}', ['uses' => 'Transaction\IndexController@index', 'as' => 'index'])->where(
|
||||
['what' => 'withdrawal|deposit|transfers|transfer']
|
||||
['what' => 'withdrawal|deposit|transfers|transfer|all']
|
||||
)->where(['start_date' => DATEFORMAT])
|
||||
->where(['end_date' => DATEFORMAT])
|
||||
;
|
||||
|
Reference in New Issue
Block a user