Since you say to pass a "url" as the first parameter, maybe actually give it a URL.  Or at least specify that you can also pass a route.