Hi,

In my bootstrap I am adding the Zend_Rest_Route

[code]
protected function _initRestRoute()
    {
        if (PHP_SAPI == 'cli') {
            return;
        }

        $this->bootstrap('frontController');
        $frontController = Zend_Controller_Front::getInstance();
$restRoute = new Zend_Rest_Route($frontController, array(), array('webservice'));
        $frontController->getRouter()->addRoute('rest', $restRoute);

    }
[/code]

After adding this route, the url view helper is not returning the correct URL. For instance, in the layout script(default module),

[code]
$url = $this->url(array('module'=>'default','controller'=>'user','action'=>'login'));
 echo $url;
[/code]

The url returns the value '/user' instead of '/user/login'.

How can I correct this issue


--

With warm regards,
Sudheer. S
Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net, 
Personal: http://sudheer.net


Reply via email to