Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
New flush method.
James Cole638f38d82382
diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.phpindex 9eb08a7f94..76b41d0bc9 100644--- a/app/Http/Controllers/HomeController.php+++ b/app/Http/Controllers/HomeController.php@@ -6,7 +6,7 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface;use Input;use Preferences;use Session;-+use Redirect;/*** Class HomeController*@@ -30,6 +30,11 @@ class HomeController extends ControllerSession::put('end', $end);}+ public function flush() {+ Session::clear();+ return Redirect::route('index');+ }+/*** @return \Illuminate\View\View*/