I don’t know if it’s a bug or if it’s something I was doing wrong, but I’m pretty sure all was fine in 2.0.3. I had tables with capital letters in them so when I made the classes I used the exact same names. The problem I have is that once my application was updated to Yii 2.0.4 I got a lot of 404 (page not found).
To solve the problem I had to change all my controllers declarations that had capital letters in them, for example :
"class MyTableController extends Controller"
had to become:
"class MytableController extends Controller"
Again, I’m not sure if it’s a bug or not, but Gii shouldn’t allow those capital letters if not supported.
I am having the same problem and am trying to keep from renaming the controllers and classes. Would like some clarification of this issue. I have tried every combination of routing, including hyphenation, urlmanager rules, etc. Nothing has worked. If I here nothing, will rename controllers and classes.