Moved umbraco cshtml files into the umbraco folder

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
Bjarke Berg
2020-07-08 11:18:23 +02:00
parent 0a088e4ef4
commit 1dcacda036
5 changed files with 13 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
@@ -67,9 +68,10 @@ namespace Umbraco.Web.BackOffice.Controllers
[HttpGet]
public async Task<IActionResult> Default()
{
var viewPath = Path.Combine(_globalSettings.UmbracoPath , Umbraco.Core.Constants.Web.Mvc.BackOfficeArea, nameof(Default) + ".cshtml");
return await RenderDefaultOrProcessExternalLoginAsync(
() => View(),
() => View());
() => View(viewPath),
() => View(viewPath));
}
/// <summary>