mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#18528: Fixing homepage import/export
Work Item: 18528 --HG-- branch : 1.x
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user