On 06/10/2009 9:59 AM, Sudheer Satyanarayana wrote:

There are two things going wrong: you need to specify the route, and,
specifically, the default route, when using the url() view helper.

$url = $this->url(array(
'module' =>'default',
'controller' =>'user',
'action' =>'login'
), 'default', true);

Thanks, Matthew.

I was assuming that the url view helper would default to 'default' route.

Is it possible to add this enhancement to the url view helper?


No. It wouldn't be an enhancement. It currently defaults to the active route--any change here would be a major regression.

Reply via email to