From d80ef491c450fe3bc69aca82810ffbf17cd03c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Tue, 28 Jan 2020 18:52:12 +0100 Subject: [PATCH] Fix route:list --- app/Http/Controllers/BaseController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/BaseController.php b/app/Http/Controllers/BaseController.php index 5157403b..d76cf640 100644 --- a/app/Http/Controllers/BaseController.php +++ b/app/Http/Controllers/BaseController.php @@ -23,8 +23,9 @@ class BaseController extends Controller /** * Instantiate a new BaseController instance. + * @param Base|null $base */ - public function __construct(Base $base) + public function __construct(Base $base = null) { $this->middleware('auth', ['only' => ['create', 'edit', 'store', 'update', 'destroy']]);