In my model i have:
var $useTable = 'proizvodi';
// The model can't be pluralized with english
But when I do:
$form->create('Proizvod', array('action' => 'dodaj'));
// Proizvod = Product, dodaj = add
The output is:
<form id="ProizvodAddForm" method="post" action="/admin/proizvods/
dodaj/">
And I want my action to be "/admin/proizvodi/dodaj"
Setting
$form->create('Proizvod', array('url' => 'dodaj'));
// 'url' instead of 'action' makes it right.
Is this the way it should be?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---