Friday, July 29, 2011

Re: Problem in config routes

its $html->link('linkname', array('controller' => 'yourcontroller', 'action' => 'youraction'));
--
Lep pozdrav, Tilen Majerle



2011/7/30 taqman filler <taqmaninw@gmail.com>
hi I'm have noob question
I try to create link to login page this
$html->link('login',array('url'=>array('controller'=>'users','action'=>'login')))
but output in
127.0.0.1/cakephp/user_articles/users/login

how to config it

thank
taqman

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: