Missing Method in AppController

Error: The action webroot is not defined in controller AppController

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

<?php
class AppController extends AppController {


	public function webroot() {

	}

}

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

Stack Trace

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