MVC miniprofile is no longer rendered in production
This commit is contained in:
parent
a681024db2
commit
25ecd45d9b
|
@ -3,12 +3,13 @@
|
||||||
@using NzbDrone.Common
|
@using NzbDrone.Common
|
||||||
@using NzbDrone.Web.Helpers
|
@using NzbDrone.Web.Helpers
|
||||||
@section HeaderContent
|
@section HeaderContent
|
||||||
|
{
|
||||||
|
@if (!EnviromentProvider.IsProduction)
|
||||||
{
|
{
|
||||||
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
|
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
|
||||||
|
}
|
||||||
@RenderSection("HeaderContent", required: false)
|
@RenderSection("HeaderContent", required: false)
|
||||||
}
|
}
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="centered">
|
<div id="centered">
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in New Issue