Skip to content

Commit

Permalink
Miniprofiler caused login page rendered in footer
Browse files Browse the repository at this point in the history
Miniprofiler caused login page rendered in footer
  • Loading branch information
andrasfuchs committed Feb 11, 2015
1 parent f1313dc commit 2ed0e56
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/FunnelWeb.Web/Areas/Admin/Views/Shared/_Private.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@
@RenderSection("Scripts")
}

@MiniProfiler.RenderIncludes()
@*@MiniProfiler.RenderIncludes()*@
</body>
</html>
20 changes: 10 additions & 10 deletions src/FunnelWeb.Web/Views/Shared/_Public.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@
@Scripts.Render("~/bundles/showdown")
@Scripts.Render("~/bundles/prettify")

@MiniProfiler.RenderIncludes()
@MvcHtmlString.Create(Html.Settings().HtmlFooter)
@if (IsSectionDefined("Scripts"))
{
@RenderSection("Scripts")
}
@if (IsSectionDefined("FedAuthScripts"))
{
@RenderSection("FedAuthScripts")
}
@*@MiniProfiler.RenderIncludes()*@
@MvcHtmlString.Create(Html.Settings().HtmlFooter)
@if (IsSectionDefined("Scripts"))
{
@RenderSection("Scripts")
}
@if (IsSectionDefined("FedAuthScripts"))
{
@RenderSection("FedAuthScripts")
}
</body>
</html>

1 comment on commit 2ed0e56

@janierdavila
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrasfuchs So MiniProfiler will not work anymore?

Please sign in to comment.