New endpoint for transactions without a budget.

This commit is contained in:
James Cole 2022-01-29 13:39:03 +01:00
parent b7ba04dacf
commit aff0e4a9df
No known key found for this signature in database
GPG Key ID: BDE6667570EADBD5

View File

@ -253,6 +253,7 @@ Route::group(
static function () {
Route::get('', ['uses' => 'Budget\ShowController@index', 'as' => 'index']);
Route::post('', ['uses' => 'Budget\StoreController@store', 'as' => 'store']);
Route::get('transactions-without-budget', ['uses' => 'Budget\ListController@withoutBudget', 'as' => 'without-budget']);
Route::get('{budget}', ['uses' => 'Budget\ShowController@show', 'as' => 'show']);
Route::put('{budget}', ['uses' => 'Budget\UpdateController@update', 'as' => 'update']);
Route::delete('{budget}', ['uses' => 'Budget\DestroyController@destroy', 'as' => 'delete']);