diff --git a/.hgsubstate b/.hgsubstate index ce128a003..e1e99ec39 100644 --- a/.hgsubstate +++ b/.hgsubstate @@ -1,4 +1,4 @@ -35c9fddc4d187a0ee48a4599df476ffe4802f143 src/Orchard.Web/Modules/Orchard.Autoroute +bc4cb3e888cc1e50771e88734349f9c14681c1a3 src/Orchard.Web/Modules/Orchard.Autoroute 214e7b89d42abd00abd4e5fe2b1eb0b181b79946 src/Orchard.Web/Modules/Orchard.Forms 7a1553d61ec49f709395a409a8edfe0956ab991c src/Orchard.Web/Modules/Orchard.Rules dab42f20280f46c25c6c78ef13870f9a063bd026 src/Orchard.Web/Modules/Orchard.TaskLease diff --git a/src/Orchard.Web/Modules/Orchard.Pages/Commands/PageCommands.cs b/src/Orchard.Web/Modules/Orchard.Pages/Commands/PageCommands.cs index 64898c656..a998e75ce 100644 --- a/src/Orchard.Web/Modules/Orchard.Pages/Commands/PageCommands.cs +++ b/src/Orchard.Web/Modules/Orchard.Pages/Commands/PageCommands.cs @@ -61,7 +61,7 @@ namespace Orchard.Pages.Commands { dynamic dpage = page; if (dpage.AutoroutePart != null) { dpage.AutoroutePart.UseCustomPattern = true; - dpage.AutoroutePart.CustomPattern = Homepage ? String.Empty : Slug; + dpage.AutoroutePart.CustomPattern = Homepage ? "/" : Slug; } }