Skip to content

Commit

Permalink
fix issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
z-song committed Apr 25, 2018
1 parent 4e55e6c commit 19c78d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class LogController extends Controller
{
public function index($file, Request $request)
public function index($file = null, Request $request)
{
if ($file === null) {
$file = (new LogViewer())->getLastModifiedLog();
Expand Down

0 comments on commit 19c78d7

Please sign in to comment.