From ece28fd29201996fc281e7461fc94c5a7e9285bf Mon Sep 17 00:00:00 2001 From: Fred Condo Date: Mon, 8 Jul 2013 12:09:08 +0200 Subject: [PATCH] Enable controllers to run under framework 3.1 - Add $allowed_actions to UserDefinedForm_Controller - Add route for .../finished action --- code/model/UserDefinedForm.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/model/UserDefinedForm.php b/code/model/UserDefinedForm.php index c6778b1..8922c7f 100755 --- a/code/model/UserDefinedForm.php +++ b/code/model/UserDefinedForm.php @@ -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