Missing Method in NewsController

Error: The action pro-indoor is not defined in controller NewsController

Error: Create NewsController::pro-indoor() in file: app/Controller/NewsController.php.

<?php
class NewsController extends AppController {


	public function pro-indoor() {

	}

}

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(NewsController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 92Dispatcher->dispatch(CakeRequest, CakeResponse)