vova07 / yii2-start

Yii2-Start application
Other
273 stars 115 forks source link

Creating Modules by gii #80

Closed nferreirax closed 9 years ago

nferreirax commented 9 years ago

I created modules by gii but I not find way how to put them working in yii2-start, I always get page not found. I did same things I do when I created modules for yii2-advanced original project and it works without problems. I miss something, can you guide me how I put gii generated modules working at yii2-start? thanks for your great work

vova07 commented 9 years ago

Hello! The problem may be is in the url rules. If you didn't added module rules to your config.php, you should do it. General rules for example:

'<_c>/<_a>' => '<_c>/<_a>',
'<_m>/<_c>/<_a>' => '<_m>/<_c>/<_a>'
nferreirax commented 9 years ago

thanks for help, this resolve problem :)

niego commented 9 years ago

Thank you very much, this issue help resolve my problem too :D. by the way yii2-start very great module extension