AnswerController.php 500 Bytes
Newer Older
Clément Damiens's avatar
 
Clément Damiens committed
1 2 3 4
<?php class AnswerController extends CommunecterController {


    protected function beforeAction($action) {
Clément Damiens's avatar
 
Clément Damiens committed
5
        parent::initPage();
Clément Damiens's avatar
 
Clément Damiens committed
6 7 8 9 10 11 12 13
		return parent::beforeAction($action);
  	}

  	public function actions()
	{
	    return array(
	        'new'  => 'survey.controllers.answer.NewAction',
	        'index'  => 'survey.controllers.answer.IndexAction',
Clément Damiens's avatar
 
Clément Damiens committed
14 15
	        'all'=>'survey.controllers.answer.AllAction',
	        'admindirectory'=>'survey.controllers.answer.admin.DirectoryAction'
Clément Damiens's avatar
 
Clément Damiens committed
16 17 18
	    );
	}
}