NancyFx/Nancy — Issue #502: Multiple nested layout on Razor
Author: Fax
Created: 2012-02-07 14:57:58+00:00
State: open

Hi,
i think there is a problem over here.

I've tried to nest 2 layouts in razor and i got an amazing white page :D

Master.cshtml -> Section.cshtml -> content.cshtml

the problem is on RazorViewEngine.cs Row 96/105

the layout variable should be updated in the "while(!root)" loop with the new view's layout.

after row #105 - layout = view.Layout;

Am I wrong?