/** * Displays the specified log entry. * * @param int|string $id * * @return \Illuminate\View\View */ public function show($id) { $entry = $this->log->includeRead()->find($id); if ($entry) { return view('maintenance::admin.logs.show', ['title' => 'Viewing Log Entry', 'entry' => $entry]); } return App::abort(404); }