I have in my routes.php:

Router::connect('/articles/translated', array('controller' => 'articles', 
> 'action' => 'translated', true));
> Router::connect('/articles/nontranslated', array('controller' => 
> 'articles', 'action' => 'translated', false));
>

So in articles controller I have:

function translated($isTranslated) {
>   $this->Paginator->settings = Hash::merge($this->paginate, array(
>         'conditions' => array('isTranslated' => $isTranslated)
>     ));
> }
>

it works well except paginator helper. In /articles/nontranslated the page 
links appear as:
/articles/translated/page:2 while I would like to appear as
/articles/nontranslated/page:2 or 
/articles/translated/false/page:2

In my view I have:
$this->Paginator->options(array('url' => $this->passedArgs));

any help with this?

Thanks


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to