How to access subcontroller/view


I’ve created CRUD operations that is located within another controller and can’t figure out how to access them.

I want to have a main controller “user” and sub controllers like “profile” or “settings” alle with CRUD etc. resulting in URL’s like:





The controllers and views are located in subfolders like views/user/settings but how can I access them?

I figure that have have to change my urlManager settings?:





        '' => 'signup/index',






Thanks a lot! :)

I don’t think Yii supports sub controllers. Have you tried modules?

Take a look at the yii-user module. There are no "subcontrollers" in Yii, but there are modules and submodules.

Ok, thanks!