-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Since a closure is being used for the route:
Lines 8 to 15 in 258c388
Route::get($path, function (Content $content, PHPInfo $info) { | |
$info = $info->toCollection(); | |
return $content | |
->header('PHP\'s configuration') | |
->description(' ') | |
->body(view('laravel-admin-phpinfo::phpinfo', compact('info'))); | |
}); |
Running php artisan optimize
fails with an error message
LogicException : Unable to prepare route [admin/phpinfo] for serialization. Uses Closure.
Metadata
Metadata
Assignees
Labels
No labels