Re: Renaming a baked controller
Thankyou,after all my google searching i found it about 2 minutes after i posted the message :) Thankyou for your reply vekija! --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Renaming a baked controller
In you viewr add array('action' => 'register') as a second parameter to form create function echo $form->create('ModelName', array('action' => 'register')); On Oct 8, 3:16 pm, toneee wrote: > Hi Guys, > > Im a little confused, im trying to rename a controller that I have > baked. > > I have created the standard index, add, view and delete controls, but > i wanted to rename add to register? > > I have changed it everywhere I thought I had to, but still when I load > the my form called register.ctp (this loads fine) it still trys to > send it to the control add? > > is there something I have missed? > > Hope someone can help with my stupidity. > > Kind Regards > > Toneee --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Renaming a baked controller
Hi Guys, Im a little confused, im trying to rename a controller that I have baked. I have created the standard index, add, view and delete controls, but i wanted to rename add to register? I have changed it everywhere I thought I had to, but still when I load the my form called register.ctp (this loads fine) it still trys to send it to the control add? is there something I have missed? Hope someone can help with my stupidity. Kind Regards Toneee --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---