You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
407 B
15 lines
407 B
using Microsoft.AspNet.FriendlyUrls;
|
|
using System.Web.Routing;
|
|
|
|
namespace JMEAgentSystem
|
|
{
|
|
public static class RouteConfig
|
|
{
|
|
public static void RegisterRoutes(RouteCollection routes)
|
|
{
|
|
var settings = new FriendlyUrlSettings();
|
|
settings.AutoRedirectMode = RedirectMode.Permanent;
|
|
routes.EnableFriendlyUrls(settings);
|
|
}
|
|
}
|
|
}
|