Hi Matthew,
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.
Done:
http://framework.zend.com/issues/browse/ZF2-486
I found out, that deleting the default for the locale does the job.
Maybe
I think you can use a wildcard route (
https://github.com/zendframework/zf2/blob/master/library/Zend/Mvc/Router/Http/Wildcard.php)
as a child route of `/lang/module/controller/action/id/`.
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 21 August 2012 07:01, cstrosser
Hi Marco,
I think you can use a wildcard route (
https://github.com/zendframework/zf2/blob/master/library/Zend/Mvc/Router/Http/Wildcard.php)
as a child route of `/lang/module/controller/action/id/`.
thanks for the hint, do you have an example? Or did I use it right here:
I think the route cannot be matched in such case, since it hasn't an ending
delimiter. Your parts should not be optional for such a route to work.
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 21 August 2012 12:17, Ralf Eggert r.egg...@travello.de wrote:
Hi Marco,
Hi Marco,
I got an solution now. This is my route in
/module/Application/config/module.config.php:
'application' = array(
'type'= 'segment',
'options' = array(
'route'=
Hi again,
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
-- 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'))