Pass parameters through to Route Provider

Pass the route parameters given to the generator through to the RouteProvider's getRouteByName method so parameters can be used when generating.