Hi,

I have a question. I am using cake 1.2.0.5427alpha.

I have changed my routing to:
Router::connect('/:tour/:controller/:action/*', array());

When I create a form in my view:
<?php echo $form->create('Post');?>
it returns the following html:
<form action="/posts/edit/1" method="post" id="PostEditForm">

I would like the view code:
<?php echo $form->create('Post');?>
to create html with a slight change to the form action like the
following:
<form action="tourname/posts/edit/1" method="post" id="PostEditForm">

Is this possible?

Thanks.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to