ServiceStack/ServiceStack — pull request #905 by Its-Tyson (2014-04-22 01:03:20+00:00)
Title: Razor layout resolution adjustments

Content pages will now fallback to `/views/_Layout.cshtml` if a default sibling or parent `_Layout` not found and if there is no `/views/shared/_Layout.cshtml`.

Explicit layouts now cascade resolve just like default layouts for content pages. e.g:

/content/_CustomLayout.cshtml
/content/root-page.cshtml (Layout = _CustomLayout)
/content/folder/child-page.cshtml (Layout = _CustomLayout)

Both `root-page` and `content-page` will resolve the specified `_CustomLayout`