I have a controller portfolio, but the form create keeps going to
portfolios instead of portfolio, how can i set the name for the
controller myself? i tried this allready:
echo $form->create('Portfolio', array('id'=> 'form', 'type' => 'file',
'action' => '/admin/portfolio/add'));
echo $form->create('Portfolio', array('id'=> 'form', 'type' => 'file',
'controller' => 'portfolio'));
Both did not work :p
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---