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