Missing Method in AppController

Error: The action answers is not defined in controller AppController

Error: Create AppController::answers() in file: app/Controller/AppController.php.

<?php
class AppController extends AppController {


	public function answers() {

	}

}

Notice: If you want to customize this error message, create app/View/Errors/missing_action.ctp

Stack Trace

  • CORE/Cake/Routing/Dispatcher.php line 186Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 161Dispatcher->_invoke(AppController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 92Dispatcher->dispatch(CakeRequest, CakeResponse)