View Path for modules

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:


and the following in the View Path:


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?

I found an answer in Stack Overflow that worked for me. Changed the View Path from:




(Note too that the slashes are forward, i.e., it has to be an actual path.) Should have looked there before posting here.