diff --git a/src/LogController.php b/src/LogController.php index 8265ff7..3f6e925 100644 --- a/src/LogController.php +++ b/src/LogController.php @@ -9,7 +9,7 @@ class LogController extends Controller { - public function index($file, Request $request) + public function index($file = null, Request $request) { if ($file === null) { $file = (new LogViewer())->getLastModifiedLog();