Templates that have a space in the alias will be created without spaces in the

file name, when determining if the template exists, remove spaces from the alias
This commit is contained in:
Sebastiaan Janssen
2012-10-22 10:36:54 -02:00
parent 12e9ab050a
commit 7309c7c02f

View File

@@ -43,7 +43,7 @@ namespace Umbraco.Web.Routing
return;
}
var templateAlias = _publishedContentRequest.Template.Alias;
var templateAlias = _publishedContentRequest.Template.Alias.Replace(" ", string.Empty);
Func<DirectoryInfo, string, string[], RenderingEngine, bool> determineEngine =
(directory, alias, extensions, renderingEngine) =>