-- Ralf Eggert <r.egg...@travello.de> wrote
(on Tuesday, 21 August 2012, 11:33 PM +0200):
> > The only problem I have is connected to the Url() View Helper. This call
> > 
> >    $this->url('application', array('lang' => 'de', 'action'=>'add',
> >                                    'controller' => 'user'))
> 
> the same issue occurs with the Url controller plugin. Somehow the 'lang'
> segment is not filled properly:
> 
> Within an action controller this call
> 
>   $this->url()->fromRoute(
>       'application',
>       array('action' => 'add', 'controller' => 'user', 'lang' => 'de')
>   );
> 
> returns just
> 
>   //user/add
> 
> and not
> 
>   /de/user/add
> 
> I wonder if this is a bug or a feature I don't understand.

This looks like a bug. Can you post an issue, and include the route
you're defining as part of it? I'll see if either myself or Ben can
track it down.

-- 
Matthew Weier O'Phinney
Project Lead            | matt...@zend.com
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to