All Lower Case For Controller Naming?

Hi,

I have a strange problem with the naming of controller files. I’m migrating my existing app to Yii2, I found out that if the controller name is like AccountItemController.php, I will get 404 error when trying to access it. But if I rename it to AccountitemController.php, everything will work as expected.

Is this naming convention intended in Yii2? Because I think Yii1 don’t have this issue.

Cheers,

Chris Sim

http://www.yiiframework.com/doc-2.0/guide-controller.html#routes

Ohh ok thanks. Never notice the new "dash" route thing