$html->link( 'Mail', '/mails/index' );

try with leading slash before mails

On 1/7/07, roby <[EMAIL PROTECTED]> wrote:

Suppose I have these views:
- http://localhost/users/index
- http://localhost/mails/index
And in users/index view, I want it have a link to mails/index. Does
anyone know how to make it without append the "http://"; in $html->link?
I've tried it with $html->link( 'Mail', 'mails/index' ); but it pointed
to http://localhost/users/mails/index not to
http://localhost/mails/index. If I suppose to make it with routing, how
to do that? I'm not clear with the manual. Thanx in advance.


>



--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

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