using System.Web.Routing;

using Microsoft.AspNet.FriendlyUrls;

namespace WebMarkupMin.Sample.AspNet45.WebForms
{
	public static class RouteConfig
	{
		public static void RegisterRoutes(RouteCollection routes)
		{
			var settings = new FriendlyUrlSettings
			{
				AutoRedirectMode = RedirectMode.Permanent
			};
			routes.EnableFriendlyUrls(settings);
		}
	}
}