fixing a build break due to change in the error message in Routing

This commit is contained in:
Mugdha Kulkarni 2015-02-10 14:41:30 -08:00
parent db0841d00d
commit 09b0aa5182
1 changed files with 4 additions and 2 deletions

View File

@ -23,8 +23,10 @@ namespace Microsoft.AspNet.Mvc.Routing
"The following errors occurred with attribute routing information:" + Environment.NewLine +
Environment.NewLine +
"For action: 'InvalidTemplate'" + Environment.NewLine +
"Error: There is an incomplete parameter in the route template. " +
"Check that each '{' character has a matching '}' character." + Environment.NewLine +
"Error: The route parameter name 'a/dkfk' is invalid. Route parameter names must be non-empty and " +
"cannot contain these characters: '{', '}', '/'. The '?' character marks a parameter as optional, " +
"and can occur only at the end of the parameter. The '*' character marks a parameter as catch-all, " +
"and can occur only at the start of the parameter." + Environment.NewLine +
"Parameter name: routeTemplate";
var router = CreateRouter();