diff --git a/LearningHub.Nhs.WebUI/Views/Home/_CourseEnrolled.cshtml b/LearningHub.Nhs.WebUI/Views/Home/_CourseEnrolled.cshtml
index 1dd92a06..68ad7256 100644
--- a/LearningHub.Nhs.WebUI/Views/Home/_CourseEnrolled.cshtml
+++ b/LearningHub.Nhs.WebUI/Views/Home/_CourseEnrolled.cshtml
@@ -12,7 +12,7 @@
{
var apiBaseUrl = Configuration["MoodleAPIConfig:BaseUrl"];
string path = $"course/view.php";
- string returnUrl = $@"{apiBaseUrl}/{path}?id={courseId}";
+ string returnUrl = $@"{apiBaseUrl}{path}?id={courseId}";
return returnUrl;
}
@@ -21,11 +21,9 @@
@if (!string.IsNullOrWhiteSpace(Model.CourseImage))
{
- if (Model.CourseImage.EndsWith(".svg", StringComparison.OrdinalIgnoreCase))
+ @if (Model.CourseImage.EndsWith(".svg", StringComparison.OrdinalIgnoreCase))
{
-
+

}
else
{
diff --git a/LearningHub.Nhs.WebUI/Views/Search/_ResourceSearchResult.cshtml b/LearningHub.Nhs.WebUI/Views/Search/_ResourceSearchResult.cshtml
index c11b89ae..64758378 100644
--- a/LearningHub.Nhs.WebUI/Views/Search/_ResourceSearchResult.cshtml
+++ b/LearningHub.Nhs.WebUI/Views/Search/_ResourceSearchResult.cshtml
@@ -38,7 +38,7 @@
var apiBaseUrl = Configuration["MoodleAPIConfig:BaseUrl"];
string path = $"course/view.php";
- string returnUrl = $@"{apiBaseUrl}/{path}?id={courseId}";
+ string returnUrl = $@"{apiBaseUrl}{path}?id={courseId}";
return returnUrl;
}