Skip to content

Commit

Permalink
fix bug from routes.php
Browse files Browse the repository at this point in the history
  • Loading branch information
malikumer committed Jul 27, 2018
1 parent a94ab39 commit 1847574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

//for test using closure
$router->add('user/{id:[0-9]}', function ($args) {
echo 'Example route using closure '.$args['id'].' '.$args['name'];
echo 'Example route using closure '.$args['id'];
});

//Cache the routes
Expand Down

0 comments on commit 1847574

Please sign in to comment.