Missing Method in EventsController Cake\Controller\Exception\MissingActionException

Documentation API

The action detail is not defined in EventsController

Error: Create EventsController::detail() in file: src/Controller/EventsController.php.

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
EventsController extends AppController
{

    public function 
detail()
    {

    }
}

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

toggle vendor stack frames