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:

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?

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

app\modules\admin\views\company

to

@app/modules/admin/views/company

(Note too that the slashes are forward, i.e., it has to be an actual path.) Should have looked there before posting here. http://stackoverflow.com/questions/27896281/yii-2-gii-is-generating-view-files-on-different-directory.