diff --git a/config/log-viewer.php b/config/log-viewer.php index 7bd6090..b0816e2 100644 --- a/config/log-viewer.php +++ b/config/log-viewer.php @@ -58,6 +58,8 @@ 'middleware' => env('ARCANEDEV_LOGVIEWER_MIDDLEWARE') ? explode(',', env('ARCANEDEV_LOGVIEWER_MIDDLEWARE')) : null, ], + + 'show' => 'log-viewer::logs.show' ], /* ----------------------------------------------------------------- diff --git a/src/Http/Controllers/LogViewerController.php b/src/Http/Controllers/LogViewerController.php index afcf968..389dc7a 100644 --- a/src/Http/Controllers/LogViewerController.php +++ b/src/Http/Controllers/LogViewerController.php @@ -52,6 +52,7 @@ public function __construct(LogViewerContract $logViewer) { $this->logViewer = $logViewer; $this->perPage = config('log-viewer.per-page', $this->perPage); + $this->showRoute = config('log-viewer.route.show', $this->showRoute); } /* -----------------------------------------------------------------