Makes umbraco.GlobalSettings.UmbracoMvcArea available since we haven't been able to get the GlobalSettings into the right public classes yet.

This commit is contained in:
Shannon
2017-03-13 12:38:08 +11:00
parent 8bb696bf9a
commit 99ed4d6cb9

View File

@@ -18,8 +18,15 @@ namespace umbraco
/// </summary>
public class GlobalSettings
{
/// <summary>
/// <summary>
/// This returns the string of the MVC Area route.
/// </summary>
public static string UmbracoMvcArea
{
get { return Umbraco.Core.Configuration.GlobalSettings.UmbracoMvcArea; }
}
/// <summary>
/// Gets the reserved urls from web.config.
/// </summary>
/// <value>The reserved urls.</value>