Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
New route for different account types (and the creation thereof.
James Cole2a54b36db037
diff --git a/app/routes.php b/app/routes.phpindex e45d4b6f78..e7dce7ea1b 100644--- a/app/routes.php+++ b/app/routes.php@@ -131,7 +131,8 @@ Route::group(['before' => 'auth'], function () {Route::get('/accounts/expense', ['uses' => 'AccountController@expense', 'as' => 'accounts.expense']);Route::get('/accounts/revenue', ['uses' => 'AccountController@revenue', 'as' => 'accounts.revenue']);- Route::get('/accounts/create', ['uses' => 'AccountController@create', 'as' => 'accounts.create']);+ Route::get('/accounts/create/{what}', ['uses' => 'AccountController@create', 'as' => 'accounts.create'])+ ->where('what','revenue|asset|expense');Route::get('/accounts/{account}', ['uses' => 'AccountController@show', 'as' => 'accounts.show']);Route::get('/accounts/{account}/edit', ['uses' => 'AccountController@edit', 'as' => 'accounts.edit']);Route::get('/accounts/{account}/delete', ['uses' => 'AccountController@delete', 'as' => 'accounts.delete']);