React to breaking change in routing

This commit is contained in:
Ryan Nowak 2016-01-05 11:49:44 -08:00
parent 4141fcae69
commit 7f38773531
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ namespace Microsoft.AspNet.Mvc.Routing
RouteTemplate = TemplateParser.Parse(routeInfo.RouteTemplate), RouteTemplate = TemplateParser.Parse(routeInfo.RouteTemplate),
TemplateMatcher = new TemplateMatcher( TemplateMatcher = new TemplateMatcher(
routeInfo.ParsedTemplate, routeInfo.ParsedTemplate,
new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase) new RouteValueDictionary(StringComparer.OrdinalIgnoreCase)
{ {
{ TreeRouter.RouteGroupKey, routeInfo.RouteGroup } { TreeRouter.RouteGroupKey, routeInfo.RouteGroup }
}), }),