From 99ed4d6cb9727aaa87a440862221aca9ca8b5bd0 Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 13 Mar 2017 12:38:08 +1100 Subject: [PATCH] Makes umbraco.GlobalSettings.UmbracoMvcArea available since we haven't been able to get the GlobalSettings into the right public classes yet. --- src/umbraco.businesslogic/GlobalSettings.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/umbraco.businesslogic/GlobalSettings.cs b/src/umbraco.businesslogic/GlobalSettings.cs index 3d3721f783..7f4bfb93df 100644 --- a/src/umbraco.businesslogic/GlobalSettings.cs +++ b/src/umbraco.businesslogic/GlobalSettings.cs @@ -18,8 +18,15 @@ namespace umbraco /// public class GlobalSettings { - - /// + /// + /// This returns the string of the MVC Area route. + /// + public static string UmbracoMvcArea + { + get { return Umbraco.Core.Configuration.GlobalSettings.UmbracoMvcArea; } + } + + /// /// Gets the reserved urls from web.config. /// /// The reserved urls.