The routes object can do token matching for a given url, passing the matched tokens to the mapped method.