ajaxian
(Dorioajax)
1
Hi all,
I have one module for admin.
When I validate my login I would like to access to my module which contains all back office.
But I fail to find the good way to redirect to access my module.
$this->redirect( here I fail to find the goog url );
is it the right way to access module or is there another way of doing ?
Thanks
ajaxian
(Dorioajax)
2
I mean that when I make
$this->redirect('index.php?r=userAdmin');
then it works
but when I try path url (
'urlFormat'=>'path'
in config) I do not know what to put. What is the path to reach the module. "modules/userAdmin" seems to do not work
andy_s
(Arekandrei)
3
It is "module/controller/action". Controller and action parts can be omitted. And a redirect should look like:
$this->redirect(array('/module/controller/action'));