Enable controllers to run under framework 3.1

- Add $allowed_actions to UserDefinedForm_Controller
- Add route for .../finished action
This commit is contained in:
Fred Condo 2013-07-08 12:09:08 +02:00
parent 3352fe38b0
commit ece28fd292

View File

@ -408,7 +408,13 @@ class UserDefinedForm extends Page {
*/
class UserDefinedForm_Controller extends Page_Controller {
private static $allowed_actions = array(
'Form',
'ping',
'finished',
);
/**
* Load all the custom jquery needed to run the custom
* validation