On Thu, May 15, 2008 at 12:18 PM, Marcelius <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Is it possible to make the reverse routing work so that it doesn't add
> an index action to the url? For example:
>
> //In routes.php:
> Router::connect('/contact/:action/*', array('controller' =>
> 'contacts'));
- Before this route, add Router::connect('/contact', array('controller' =>
'contacts', 'action' => 'index'));
--
Amit
http://amitrb.wordpress.com/
http://coppermine-gallery.net/
http://cheesecake-photoblog.org/
http://www.sanisoft.com/blog/author/amitbadkas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---