Gii CRUD files missing

I am following the tutorial for yii2 (http://www.yiiframework.com/doc-2.0/guide-start-gii.html) and am at the CRUD generation. It seems to have created the Controller and Model files in the correct location but not the view files.

I have a basic yii2 site at /var/www/basic

I have the db created as yii2basic and a table called country (as stated in tut)

When I generated the Model everything fine.

When I generated the CRUD, no view files in /var/www/basic/views/country/ but there are in /var/www/basic/web/app/views/country

Why? what is the diff?

Also, when I try to visit the site with r=country/index I get an error…

Invalid Parameter – yii\base\InvalidParamException

The view file does not exist: /var/www/basic/views/country/index.php

I followed everything in the tut to the letter. What am I missing?

M

P.S. If I move the country folder from /web/app/view/ to /views/ it clears up the error. So it would appear that the gii configuration requires me to change something or it is experiencing a temporary lapse of sanity?