Merge pull request #9 from mandrew/frameworktest-fixes

BUG: fixes for 3.1 version
This commit is contained in:
Sean Harvey 2014-02-18 10:14:03 +13:00
commit 884b5305ed
2 changed files with 10 additions and 0 deletions

View File

@ -41,9 +41,15 @@ class GridFieldTestPage extends TestPage {
return $fields;
}
}
class GridFieldTestPage_Controller extends Page_Controller {
private static $allowed_actions = array(
'Form',
);
/**
*

View File

@ -5,6 +5,10 @@ class TestFileUploadPage extends TestPage{
}
class TestFileUploadPage_Controller extends TestPage_Controller{
private static $allowed_actions = array(
'Form'
);
function Form(){
$fields = new FieldList(