1
Vote

Incorrect Layout in many views

description

Downloaded the latest version. Noticed that a lot of views have the following declaration at the top:
@model dynamic
@{
    Layout = "~/Areas/Contents/Views/Shared/Blank.cshtml";
    }
Blank.cshtml does not exist in /Areas/Contents/Views/Shared. It's in /Views/Shared

comments

bslatner wrote Apr 4, 2013 at 8:19 PM

Similarly, Site.cshtml is in /Views/Shared, but i see it referenced as /Areas/Contents/Views/Shared in, for example, Areas/Contents/Views/Setting/Basic.cshtml

kooboo wrote Apr 7, 2013 at 2:27 AM

HI

I have done a global seaching in the project, but just only two views used "Layout = "~/Areas/Contents/Views/Shared/Blank.cshtml";"

Areas\Contents\Views\MediaContent\LargeFile.cshtml
Areas\Contents\Views\MediaContent\TextFile.cshtml

There are all the obsolete views, we will delete them.