0
Good afternoon, I would like a help to make a requestAction on Cakephp 3, before on cake2 I did so:
<?php $post = $this->requestAction('/Posts/latest'); foreach ($post as $value) : ?>
function latest()
{
return $this->Post->find('all', array('order' => 'Post.id DESC','limit' => 1));
}
Relationship: http://www.sanisoft.com/blog/2014/09/15/view-cell-cakephp-3-quick-start/
– user46523
Other related: http://stackoverflow.com/a/30348446/6402423
– user46523