Skip to content

Commit

Permalink
feat: add show route config
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunakevin committed Feb 17, 2024
1 parent 0bd0b39 commit 92cc5fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/log-viewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@

'middleware' => env('ARCANEDEV_LOGVIEWER_MIDDLEWARE') ? explode(',', env('ARCANEDEV_LOGVIEWER_MIDDLEWARE')) : null,
],

'show' => 'log-viewer::logs.show'
],

/* -----------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions src/Http/Controllers/LogViewerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/* -----------------------------------------------------------------
Expand Down

0 comments on commit 92cc5fd

Please sign in to comment.