Missing Method in ProductsController

Error: The action tents is not defined in controller ProductsController

Error: Create ProductsController::tents() in file: siteapp/Controller/ProductsController.php.

<?php
class ProductsController extends AppController {


	public function tents() {

	}

}

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

Stack Trace

  • CORE/Cake/Routing/Dispatcher.php line 193Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(ProductsController, CakeRequest)
  • ROOT/index.php line 119Dispatcher->dispatch(CakeRequest, CakeResponse)