Update routes.php

fix undefined variable