mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Enable controllers to run under framework 3.1
- Add $allowed_actions to UserDefinedForm_Controller - Add route for .../finished action
This commit is contained in:
parent
3352fe38b0
commit
ece28fd292
@ -408,7 +408,13 @@ class UserDefinedForm extends Page {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
class UserDefinedForm_Controller extends Page_Controller {
|
class UserDefinedForm_Controller extends Page_Controller {
|
||||||
|
|
||||||
|
private static $allowed_actions = array(
|
||||||
|
'Form',
|
||||||
|
'ping',
|
||||||
|
'finished',
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load all the custom jquery needed to run the custom
|
* Load all the custom jquery needed to run the custom
|
||||||
* validation
|
* validation
|
||||||
|
Loading…
Reference in New Issue
Block a user