Update Router.php

Fixing the router.