Controller problem

Hi all,

I just start play Yii, I love it.

I trying to create a page /admin/user/role/create

My controllers:

  • admin

    – UserController (has actionRole)

My question is how to creat role/create, do I have to create a new folder and put RoleController in new folder? Is there a other way to do it.

Thanks.

I am not sure if you are approaching this correctly. You may have /module/controller/action/get1/get2…etc or /controller/action/get1/get2…etc

get1 and get2 are $_GET parameters

Let me know what exactly you are trying to achieve. But I am pretty sure you cannot list two controllers in your url.