Skip to content
Permalink
Browse files

(maint) add redirect for Central Management

  • Loading branch information...
ferventcoder committed Jun 24, 2019
1 parent 4b95268 commit 97b98414f7e3f9b0bbf9d7cfbbb6889a85060c93
Showing with 5 additions and 2 deletions.
  1. +5 −2 chocolatey/Website/App_Start/Routes.cs
@@ -194,12 +194,15 @@ public static void RegisterRoutes(RouteCollection routes)
new { controller = "Blog", action = "Article" }
);

routes.MapRouteSeo(
var docsRoute = routes.MapRouteSeo(
RouteName.Docs,
"docs/{docName}",
"docs/{docName}",
new { controller = "Documentation", action = "Documentation", docName = "home" }
);

// temporary redirect
routes.Redirect(r => r.MapRoute("CentralManagementFeature", "features-chocolatey-central-management")).To(docsRoute, new { docName = "features-chocolatey-central-management" });

routes.MapRoute(RouteName.Stats, "stats", MVC.Pages.Stats());

routes.MapRoute(

0 comments on commit 97b9841

Please sign in to comment.
You can’t perform that action at this time.