From 89bb8eb3f4a23c5a531134556b1e6662aff3a9f7 Mon Sep 17 00:00:00 2001 From: Per Ploug Date: Wed, 7 Jun 2017 08:04:11 +0200 Subject: [PATCH] too much dollar --- .../Busineslogic/GithubSourcePull/ZipDownloader.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/OurUmbraco/Documentation/Busineslogic/GithubSourcePull/ZipDownloader.cs b/OurUmbraco/Documentation/Busineslogic/GithubSourcePull/ZipDownloader.cs index 59de1e07..0db8d1de 100644 --- a/OurUmbraco/Documentation/Busineslogic/GithubSourcePull/ZipDownloader.cs +++ b/OurUmbraco/Documentation/Busineslogic/GithubSourcePull/ZipDownloader.cs @@ -157,9 +157,15 @@ namespace OurUmbraco.Documentation.Busineslogic.GithubSourcePull public bool hasChildren { get; set; } public List directories { get; set; } - public string url => $"http://localhost:24292/documentation{this.path}/?altTemplate=Lesson"; + //public string url => $"http://localhost:24292/documentation{this.path}/?altTemplate=Lesson"; - //public string url => $"https://our.umbraco.org/documentation{this.path}/?altTemplate=Lesson"; + public string url + { + get + { + return string.Format("https://our.umbraco.org/documentation{0}/?altTemplate=Lesson", this.path); + } + } } private SiteMapItem GetFolderStructure(DirectoryInfo dir, string rootPath, int level)