Missing Method in HomeController

Error: The action index. is not defined in controller HomeController

Error: Create HomeController::index.() in file: app/Controller/HomeController.php.

<?php
class HomeController extends AppController {


	public function index.() {

	}

}

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

Stack Trace

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