I have setup a module called admin in a basic app. However, when I generate CRUD using Gii, the view path override does not work correctly. Given the controller is CompanyController, in the CRUD generator I put the following in the Controller Class:
app\modules\admin\controllers\CompanyController
and the following in the View Path:
app\modules\admin\views\company
When I look at the preview, it shows app/ in front of the path for the view files. When clicking Generate, it generates the controller correctly and in the right location within the module, but the views end up in the public web folder, i.e., public_html/app/modules/admin/views/… Did I miss a setting someplace?