Hej there.
I'm trying to call a function inside my controller, returning a simple value/string.
I tried via browser address and AJAX call, using the URL "/QuizPage_Controller/checkQuizForm":
class QuizPage_Controller extends Page_Controller {
private static $allowed_actions = array(
'checkQuizForm'
);
public function checkQuizForm() {
return 'form checked';
}
}
The result is alway a 403 forbidden. Even when I'm logged in as an admin.
What do I do wrong? Can't be that hard...
Thanks, Mario