Jup! Works a charm! I also made it that I get the parameter I need from the data in the same function (It was already available in my code and all) So it's flexible now:
And for anybody reading... Don't forget the Exit-parameter in redirect! :D $this->redirect( '/products/index/'.$param, null, true); On Oct 13, 3:08 pm, Amit Rawat <[email protected]> wrote: > Try this > > $this->redirect( ' /products/index/21 ' ); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
