diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Helpers/HtmlIncludeExtentions.cs b/NzbDrone.Services/NzbDrone.Services.Service/Helpers/HtmlIncludeExtentions.cs index 94848660b..79284ee1b 100644 --- a/NzbDrone.Services/NzbDrone.Services.Service/Helpers/HtmlIncludeExtentions.cs +++ b/NzbDrone.Services/NzbDrone.Services.Service/Helpers/HtmlIncludeExtentions.cs @@ -14,7 +14,7 @@ namespace NzbDrone.Web.Helpers static HtmlIncludeExtentions() { versionString = new EnviromentProvider().Version.ToString().Replace('.', '_'); - isProduction = EnviromentProvider.IsProduction; + isProduction = true; } public static MvcHtmlString IncludeScript(this HtmlHelper helper, string filename) diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Views/Shared/_Layout.cshtml b/NzbDrone.Services/NzbDrone.Services.Service/Views/Shared/_Layout.cshtml index 95f98137f..cde3606a9 100644 --- a/NzbDrone.Services/NzbDrone.Services.Service/Views/Shared/_Layout.cshtml +++ b/NzbDrone.Services/NzbDrone.Services.Service/Views/Shared/_Layout.cshtml @@ -14,10 +14,6 @@ ViewBag.Title = String.Format("{0} - NzbDrone", ViewBag.Title); } @ViewBag.Title - @if (!EnviromentProvider.IsProduction) - { - @MvcMiniProfiler.MiniProfiler.RenderIncludes() - } @RenderSection("HeaderContent", required: false) }