/my-custom-route/*  perhaps?

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jaime
Sent: 29. juni 2008 21:23
To: CakePHP
Subject: Paginator links are not being constructed according to route.php


Hi all,

It seems that Paginator helper is not correctly constructing the
links. Doing this:

$paginator->options(array(
  'url' => array(
    'controller' => 'posts',
    'action' => 'index',
)));

Results into a nice /posts/view/page:1 link, as expected. Now assume a
route like this is assigned:

Router::connect('/my-custom-route', array('controller' => 'posts',
'action' => 'index'));

The previosly set pagination options should render something like /my-
custom-route/page:1, but it isn't.

I mean, it seems that Paginator is not constructing links according to
what is set in route.php

This is inconsistent with many other Cake functions, like, for
example, html::link().

Has anybody else noticed this?


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

Reply via email to