silverstripe/sapphire — pull request #1818 by chillu (2013-04-29 15:27:30+00:00)
Title: FIX Template discovery on themed Layout templates

Was failing when 'main' template only exists in theme, but 'Layout' template only exists in module.

Example: `mymodule/templates/Layout/Page.ss` and `themes/mytheme/templates/Page.ss` would just find the main `Page.ss`, and not replace `$Layout`.