Use render template tag instead of overriding renderTemplate in route.