Missing Method in HcController Cake\Controller\Exception\MissingActionException

Documentation API

The action news is not defined in HcController

Error: Create HcController::news() in file: src/Controller/HcController.php.

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
HcController extends AppController
{

    public function 
news()
    {

    }
}

If you want to customize this error message, create src/Template/Error/missing_action.ctp

toggle vendor stack frames