Render View From Different Controller


I just wonder is it possible to render a view from a different controller?

for example, I’m in a SiteController, actionIndex and I want to render view from views/user/index.php

I tried this but doesn’t work.

// This function is in SiteController

public function actionIndex()






Should work

You can also use: