Fix issue with error http://our.umbraco.org/forum/developers/api-questions/41483-Umbraco-6-MVC-RenderRouteHandlerHandlePostedValues-Sequence-contains-more-than-one-matching-element when multiple routes share the same controller
This commit is contained in:
@@ -200,6 +200,7 @@ namespace Umbraco.Web.Mvc
|
||||
.SingleOrDefault(x => x.Defaults != null &&
|
||||
x.Defaults.ContainsKey("controller") &&
|
||||
x.Defaults["controller"].ToString() == postedInfo.ControllerName &&
|
||||
x.Defaults["action"].ToString().ToLower() == postedInfo.ActionName.ToLower() &&
|
||||
!x.DataTokens.ContainsKey("area"));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user