Good afternoon, I would like a help to make a requestAction in Cakephp 3, before in cake2 I would do it this way:
<?php $post = $this->requestAction('/Posts/latest'); foreach ($post as $value) : ?>
function latest()
{
return $this->Post->find('all', array('order' => 'Post.id DESC','limit' => 1));
}