public RegisterArea ( System.Web.Mvc.AreaRegistrationContext context ) : void | ||
context | System.Web.Mvc.AreaRegistrationContext | |
return | void |
public override void RegisterArea(AreaRegistrationContext context)
{
context.MapRoute("security_default", "Security/{controller}/{action}/{id}",
new {controller = "Home", action = "index", id = ""},
new [] {typeof(AccountController).Namespace});
context.MapRoute(
"OpenIdDiscover",
"Security/Auth/Discover");
}