Skip to content

Commit

Permalink
Enable alternative URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lenoch committed Sep 3, 2019
1 parent d6b4778 commit a5f9dcd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Binary file modified Db/MedioClinic.zip
Binary file not shown.
Binary file modified Db/MedioClinicSqlScript.zip
Binary file not shown.
6 changes: 6 additions & 0 deletions MedioClinic/App_Start/ApplicationConfig.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Kentico.Content.Web.Mvc;
using Kentico.Content.Web.Mvc.Routing;
using Kentico.Web.Mvc;

namespace MedioClinic
Expand All @@ -10,6 +11,11 @@ public static void RegisterFeatures(IApplicationBuilder builder)
// Enable required Kentico features

builder.UsePreview();

builder.UsePageRouting(new PageRoutingOptions
{
EnableAlternativeUrls = true
});
}
}
}

0 comments on commit a5f9dcd

Please sign in to comment.