Missing Method in ProdutosController

Error: The action index is not defined in controller ProdutosController

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

<?php
class ProdutosController 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(ProdutosController, CakeRequest)
  • APP/webroot/index.php line 108Dispatcher->dispatch(CakeRequest, CakeResponse)