Skip to content

Commit

Permalink
Fix route:list
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo committed Feb 3, 2020
1 parent 261f2d9 commit d80ef49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Controllers/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']]);

Expand Down

0 comments on commit d80ef49

Please sign in to comment.