Hi there,
By the CakePHP conventions, the view's name must be the same
as an action in a controller. A common mistake for the newbies is
when creating a form in the view is that the
echo $form->create('MyModel');
defaults to generate a form for the "add" action. But I think that
should be more intuitive that it's defaults to the action with the
same name as the view. Isn' it?
Best regards.
--
MARCELO DE F. ANDRADE (aka "eleKtron")
Belem, PA, Amazonia, Brazil
Linux User #221105
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---