Missing Method in PagesController 📋

Cake\Controller\Exception\MissingActionException
Toggle Vendor Stack Frames

Error The action legislacao is not defined in PagesController

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

Error Create PagesController::legislacao() in file: /home/camar963/public_html/transparencia/plugins/Esic/src/Controller/PagesController.php.

<?php
namespace Esic\Controller;

use 
Esic\Controller\AppController;

class 
PagesController extends AppController
{

    public function 
legislacao()
    {

    }
}

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