Hi everyone,
I have the module ‘auth’ with the controller ‘auth’. This module contains the controller ‘auth’. I want to use two actions in this controller: ‘login’ and ‘logout’. But I do not want to have URLs like /auth/auth/login, /auth/auth/logout. How can I remove a module name from URL? It works very well in CodeIgniter but in YII I really do not know how to do it. I do not want to create two separate controllers: LoginController and LogoutController and I think it’s not right. Can anyone help me? Thank you, anyone.