From d2b98cb6fd8f8bfc73da260fd67376c91ca0cb17 Mon Sep 17 00:00:00 2001 From: Oliver Kaufmann Date: Tue, 29 Dec 2015 12:01:03 +0100 Subject: [PATCH] Use request instead of Input to make it more consistent --- src/controllers/LogViewerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/LogViewerController.php b/src/controllers/LogViewerController.php index 0b543af..10c7a21 100644 --- a/src/controllers/LogViewerController.php +++ b/src/controllers/LogViewerController.php @@ -21,7 +21,7 @@ public function index() if (request()->input('dl')) { return Response::download(storage_path() . '/logs/' . base64_decode(request()->input('dl'))); - } elseif (Input::has('del')) { + } elseif (request()->has('del')) { File::delete(storage_path() . '/logs/' . base64_decode(request()->input('del'))); return Redirect::to(Request::url()); }