This PR fixes Route [log-viewer::logs.show] not defined error when using custom route, or setting route.enabled to false in config/log-viewer.php (line 51). This happens because $showRoute variable is hardcoded to log-viewer::logs.show in LogViewerController (line 39).
This PR fixes
Route [log-viewer::logs.show] not defined
error when using custom route, or settingroute.enabled
tofalse
inconfig/log-viewer.php
(line 51). This happens because$showRoute
variable is hardcoded tolog-viewer::logs.show
inLogViewerController
(line 39).