On Mar 11, 1:58 am, Casey Stark <whentherobotsatt...@gmail.com> wrote:
> I've been searching for the best way to do this for a while and I
> agree with Martin now. I really wish cake had a more elegant solution,
> but this one is definitely the cleanest and fastest.

What is hard about doing:

function index() {
if ($this->data) {
 return $this->redirect($this->data['ModelName']);
}
$conditions = $this->params['named'];
.. remove pagination params ..
$this->set('data', $this->paginate($conditions));
}

It's not like this is a 'new' question/problem.

AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to