Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Take redirect uri from controller class.
James Colecca29bcdfef0
diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.phpindex 843c7bc8bd..87f254a110 100644--- a/app/Http/Controllers/Controller.php+++ b/app/Http/Controllers/Controller.php@@ -44,6 +44,8 @@ class Controller extends BaseControllerprotected $monthAndDayFormat;/** @var string */protected $monthFormat;+ /** @var string */+ protected $redirectUri = '/';/*** Controller constructor.@@ -116,10 +118,10 @@ class Controller extends BaseController{$uri = strval(session($identifier));if (!(strpos($identifier, 'delete') === false) && !(strpos($uri, '/show/') === false)) {- $uri = route('index');+ $uri = $this->redirectUri;}if (!(strpos($uri, 'jscript') === false)) {- $uri = route('index');+ $uri = $this->redirectUri;}return $uri;