Skip to content

Commit

Permalink
Merge pull request #448 from arjunakevin/add-show-route-config
Browse files Browse the repository at this point in the history
Add show route config
  • Loading branch information
arcanedev-maroc authored Mar 17, 2024
2 parents f95b94c + 92cc5fd commit 390ce70
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 @@ -58,6 +58,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 390ce70

Please sign in to comment.