Missing Method in NewsController 📋

Cake\Controller\Exception\MissingActionException
Toggle Vendor Stack Frames

Error The action show is not defined in NewsController

        if ($result instanceof ResponseInterface) {
            return $result;
        }
        $action $controller->getAction();
        $args $this->getActionArgs(
            $action,
            array_values((array)$controller->getRequest()->getParam('pass'))
        );

Error Create NewsController::show() in file: src/Controller/NewsController.php.

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
NewsController extends AppController
{

    public function 
show()
    {

    }
}

If you want to customize this error message, create templates/Error/missing_action.php