Fixing homepage definition during setup

--HG--
branch : autoroute
This commit is contained in:
Sebastien Ros
2012-01-24 13:31:53 -08:00
parent 5f9b679ce3
commit fad0aff8b2
2 changed files with 2 additions and 2 deletions
@@ -61,7 +61,7 @@ namespace Orchard.Pages.Commands {
dynamic dpage = page;
if (dpage.AutoroutePart != null) {
dpage.AutoroutePart.UseCustomPattern = true;
dpage.AutoroutePart.CustomPattern = Homepage?"":Slug;
dpage.AutoroutePart.CustomPattern = Homepage ? String.Empty : Slug;
}
}