fixing a build break due to change in the error message in Routing
This commit is contained in:
parent
db0841d00d
commit
09b0aa5182
|
|
@ -23,8 +23,10 @@ namespace Microsoft.AspNet.Mvc.Routing
|
||||||
"The following errors occurred with attribute routing information:" + Environment.NewLine +
|
"The following errors occurred with attribute routing information:" + Environment.NewLine +
|
||||||
Environment.NewLine +
|
Environment.NewLine +
|
||||||
"For action: 'InvalidTemplate'" + Environment.NewLine +
|
"For action: 'InvalidTemplate'" + Environment.NewLine +
|
||||||
"Error: There is an incomplete parameter in the route template. " +
|
"Error: The route parameter name 'a/dkfk' is invalid. Route parameter names must be non-empty and " +
|
||||||
"Check that each '{' character has a matching '}' character." + Environment.NewLine +
|
"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";
|
"Parameter name: routeTemplate";
|
||||||
|
|
||||||
var router = CreateRouter();
|
var router = CreateRouter();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue