Hello,
I just started with Yii 2 and after installing and knowing about how this framework works i headed towards Gii.
I wanted to create just a static page with no db interaction so i used the Controller Generator option to generate the Controller class.
When i filled the appropriate details, and Previewed the same, i found that the files were created in Models folder instead of Controllers:
hXXp://i.imgur.com/WP7TBJh.png [Sorry, i cant post links ]
At first i found it confusing still i clicked on generate,
and the resulting page gave a 404.
hXXp://i.imgur.com/xduyHPi.png [Sorry, i cant post links ]
When i manually created the controller file, the page worked.
What am i doing wrong here?