Skip to content

Commit

Permalink
Merge pull request #50 from okaufmann/master
Browse files Browse the repository at this point in the history
Use request instead of Input to make it more consistent
  • Loading branch information
rap2hpoutre committed Dec 29, 2015
2 parents 509217f + d2b98cb commit 1222660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/LogViewerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 1222660

Please sign in to comment.