You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
727 B
25 lines
727 B
using System.Web.Mvc;
|
|
|
|
namespace NFine.Web.Areas.SystemManage
|
|
{
|
|
public class SystemManageAreaRegistration : AreaRegistration
|
|
{
|
|
public override string AreaName
|
|
{
|
|
get
|
|
{
|
|
return "SystemManage";
|
|
}
|
|
}
|
|
|
|
public override void RegisterArea(AreaRegistrationContext context)
|
|
{
|
|
context.MapRoute(
|
|
this.AreaName + "_Default",
|
|
this.AreaName + "/{controller}/{action}/{id}",
|
|
new { area = this.AreaName, controller = "Home", action = "Index", id = UrlParameter.Optional },
|
|
new string[] { "NFine.Web.Areas." + this.AreaName + ".Controllers" }
|
|
);
|
|
}
|
|
}
|
|
}
|