MVC miniprofile is no longer rendered in production

This commit is contained in:
kay.one 2011-12-08 20:04:06 -08:00
parent a681024db2
commit 25ecd45d9b
1 changed files with 29 additions and 28 deletions

View File

@ -3,12 +3,13 @@
@using NzbDrone.Common
@using NzbDrone.Web.Helpers
@section HeaderContent
{
@if (!EnviromentProvider.IsProduction)
{
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
}
@RenderSection("HeaderContent", required: false)
}
<body>
<div id="centered">
<div id="menu">
<ul>