silverstripe-cms/tests
Sam Minnee d0a4fc2065 FIX: Fix failover to index template in ContentController::getViewer()
Historically, if you visit a foo action on Page, and Page_foo.ss doesn't exist, then it fails over
to Page.ss.  The introduction of ContentController::getViewer() broke this, but this patch adds a
test for this case and fixes it.

It was identified by build failures on silverstripe/userforms when tested against the master branch.
2014-02-14 17:44:53 +13:00
..
behat Minor improvement of theme switching test performance. 2014-02-14 13:43:34 +13:00
controller FIX: Fix failover to index template in ContentController::getViewer() 2014-02-14 17:44:53 +13:00
model Merge remote-tracking branch 'origin/3.1' 2014-02-04 07:56:10 +13:00
reports Merge remote-tracking branch 'origin/3.1' 2013-03-26 10:58:07 +01:00
search Merge pull request #927 from halkyon/cmsmainsearch_test_fix 2014-01-16 16:45:00 -08:00
tasks API Marked statics private, use Config API instead (#8317) 2013-03-24 17:21:04 +01:00
templates getViewer will now locate and use the correct templates for pages which don't have their own controller 2013-12-20 20:52:11 +00:00