BuildFeed/Areas/admin/adminAreaRegistration.cs
2014-10-10 23:57:02 +01:00

24 lines
562 B
C#

using System.Web.Mvc;
namespace BuildFeed.Areas.admin
{
public class adminAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "admin";
}
}
public override void RegisterArea(AreaRegistrationContext context)
{
context.MapRoute(
"admin_default",
"admin/{controller}/{action}/{id}",
new { action = "Index", id = UrlParameter.Optional }
);
}
}
}