mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Merge pull request #9 from mandrew/frameworktest-fixes
BUG: fixes for 3.1 version
This commit is contained in:
commit
884b5305ed
@ -41,9 +41,15 @@ class GridFieldTestPage extends TestPage {
|
||||
|
||||
return $fields;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
class GridFieldTestPage_Controller extends Page_Controller {
|
||||
|
||||
private static $allowed_actions = array(
|
||||
'Form',
|
||||
);
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user