Friday, June 24, 2011

Re: Routers

In controller action try

$this->params['letter']
- S

On 24 Jun 2011 17:57, "Prabha Vathi" <prabha.riddles@gmail.com> wrote:
> No, It is not working. If i remove this
> Router::connect('/authors/first-letter/:letter', array('controller' =>
> 'authors', 'action' => 'first'),array('pass' => array('letter'),'letter' =>
> '[a-zA-Z]'));
> and the one you gave me, i am getting error.
>
> If i add that new code in new line it is not changing the paging url. I am
> still getting wrong paging url.
>
> --
> 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: