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