24 lines
555 B
C#
24 lines
555 B
C#
using System.Web.Mvc;
|
|
|
|
namespace Face.Web.Areas.App
|
|
{
|
|
public class AppAreaRegistration : AreaRegistration
|
|
{
|
|
public override string AreaName
|
|
{
|
|
get
|
|
{
|
|
return "App";
|
|
}
|
|
}
|
|
|
|
public override void RegisterArea(AreaRegistrationContext context)
|
|
{
|
|
context.MapRoute(
|
|
"App_default",
|
|
"App/{controller}/{action}/{id}",
|
|
new { action = "Index", id = UrlParameter.Optional }
|
|
);
|
|
}
|
|
}
|
|
} |