I have controller class name ‘MyFoo’. Right now Iam storing views in folder with same name of view folder. My view folder name is ‘myFoo’. Can I change my view’s folder name as ‘barViews’ and there should be no errors from controller and controller finds ‘views’ in that folder.
In simple, I don’t want to be the same name of both views folder and Controller class.
This post is extremely helpful! I wish I could have found this information on the ‘views’ page of the yii documentation. Would have saved a bit of time for me and I am sure others as well! Thank you for contributing to the forum and therefore the entire Yii Community.