Speaking of generic, I'm wondering if Nicolás' bug is more of an admin routing one or something specific to pagination/routing. IOW, I still don't know if what I want to do has an existing solution or I need to hack Router as well. For the moment, I'm rolling my own pagination but I'd really prefer to use something built-in.
On Thu, May 15, 2008 at 4:46 PM, Chris Hartjes <[EMAIL PROTECTED]> wrote: > On Thu, May 15, 2008 at 4:32 PM, Nicolás Andrade > <[EMAIL PROTECTED]> wrote: >> >> >> To solve my issue, I've added the following lines: >> >> if(strpos($url['action'], Configure::read('Routing.admin') . >> '_') !== false){ >> $url['action'] = >> str_replace(Configure::read('Routing.admin') . '_' , '', $url['action']); >> } >> >> in /cake/libs/router.php, line 749 aprox. > > Please file a ticket over at trac.cakephp.org about this, as it might > be something that can be fixed in a more generic way. > > -- > Chris Hartjes > Internet Loudmouth > Motto for 2008: "Moving from herding elephants to handling snakes..." > @TheKeyBoard: http://www.littlehart.net/atthekeyboard > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---