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