diff --git a/test/WebSites/RoutingWebSite/Controllers/TeamController.cs b/test/WebSites/RoutingWebSite/Controllers/TeamController.cs index 85f1c0fc5c..71ab959a19 100644 --- a/test/WebSites/RoutingWebSite/Controllers/TeamController.cs +++ b/test/WebSites/RoutingWebSite/Controllers/TeamController.cs @@ -63,8 +63,8 @@ namespace RoutingWebSite return Content(Url.Action(), "text/plain"); } - [HttpGet("/TeamName/{*Name}/")] - public ActionResult GetTeam(string name = "DefaultName") + [HttpGet("/TeamName/{*Name=DefaultName}/")] + public ActionResult GetTeam(string name) { return _generator.Generate("/TeamName/" + name); }