Skip to content

Commit

Permalink
Update source/Griffin.MvcContrib/Plugins/RoutedMenuItem.cs
Browse files Browse the repository at this point in the history
Area shouldn't be deleted because routes are only registered once per application lifecycle.
  • Loading branch information
Jaap-Jan committed Jul 31, 2012
1 parent 264550c commit 5809a68
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/Griffin.MvcContrib/Plugins/RoutedMenuItem.cs
Expand Up @@ -61,7 +61,6 @@ public Uri CreateUri(UrlHelper helper)
var routeName = (string)_route["area"];
if (routeName != null)
{
_route.Remove("area");
return new Uri(helper.RouteUrl(routeName, _route), UriKind.Relative);
}

Expand Down

0 comments on commit 5809a68

Please sign in to comment.