From 7309c7c02fb3a7b705f82ec9e2908e860085e0e7 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Mon, 22 Oct 2012 10:36:54 -0200 Subject: [PATCH] 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 --- src/Umbraco.Web/Routing/PublishedContentRequestBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/Routing/PublishedContentRequestBuilder.cs b/src/Umbraco.Web/Routing/PublishedContentRequestBuilder.cs index 971cf0e856..32854c1769 100644 --- a/src/Umbraco.Web/Routing/PublishedContentRequestBuilder.cs +++ b/src/Umbraco.Web/Routing/PublishedContentRequestBuilder.cs @@ -43,7 +43,7 @@ namespace Umbraco.Web.Routing return; } - var templateAlias = _publishedContentRequest.Template.Alias; + var templateAlias = _publishedContentRequest.Template.Alias.Replace(" ", string.Empty); Func determineEngine = (directory, alias, extensions, renderingEngine) =>