ActivityLog\Controller\IndexController::indexAction PHP Method

indexAction() public method

Index action, list all documents with comments
public indexAction ( ) : array
return array
    public function indexAction()
    {
        $model = new Event\Collection();
        $events = $model->getEvents();
        return array('events' => $events);
    }