Use the router make sure both urls hit the same controller action :) -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of miikka Sent: 5. januar 2008 02:09 To: Cake PHP Subject: How to set action to the another controller
Hi, I have CakePHP app where user can go to the url /my/profile when he/ she is logged in. This would have the same affect than going to the page /users/profile/[currently_logged_in_username]. How could I render this as /users/profile/[currently_logged_in_username]. Currently CakePHP 1.2.x.x has method setAction but is only for inside controller "redirecting". Any help, pointers would be appreciated. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
