mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Refer to middleware
This commit is contained in:
@@ -56,7 +56,14 @@ class Controller extends BaseController
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->parameters = $this->getParameters();
|
$this->middleware(
|
||||||
|
function ($request, $next) {
|
||||||
|
$this->parameters = $this->getParameters();
|
||||||
|
|
||||||
|
return $next($request);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user