Render module view from main app controller

Hi,

How can I render a view in a module from main application controller.Tried with below but not worked.


$this->render('admin.views.userprofile.admin',array(

			'model'=>$model,

		));

admin - module

userprofile - model

admin - view file

You can have a check on

http://perochak.com/yii/how-to-set-layout-for-modules-in-yii/