How do I redirect or call a different Controller Action from my Controller Action in Magento? -


i want call cms/index/noroute action 1 of custom module's controller action, how do it?

i tried,

$this->_redirecturl('cms/index/noroute') 

and

$this->_forward('cms/index/noroute') 

also few variations redirect url '*/cms/index/noroute' etc, non of them worked. how should this?

use below code :

$this->_redirect('defaultnoroute'); return; 

its work me.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -