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 <toneeeda...@googlemail.com> 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 -~----------~----~----~----~------~----~------~--~---