24 lines
605 B
C#
24 lines
605 B
C#
using System.Web.Mvc;
|
|
|
|
namespace Chruch.Net.Areas.English
|
|
{
|
|
public class EnglishAreaRegistration : AreaRegistration
|
|
{
|
|
public override string AreaName
|
|
{
|
|
get
|
|
{
|
|
return "English";
|
|
}
|
|
}
|
|
|
|
public override void RegisterArea(AreaRegistrationContext context)
|
|
{
|
|
context.MapRoute(
|
|
"English_default",
|
|
"English/{controller}/{action}/{id}",
|
|
new { controller= "Vocabularies", action = "Index", id = UrlParameter.Optional }
|
|
);
|
|
}
|
|
}
|
|
} |