I have a Product controller and then, inside "controllers" directory, a sub directory named "Product" where I put other controllers that extend Product. So I have:
controllers/ProductController.php controllers/Product/ProductImageController.php controller/Product/ProductDescriptionController.php
and so on. If I call mydomain/Product/ProductImage/action Yii says “exception ‘CHttpException’ with message ‘The system is unable to find the requested action “ProductImage”.’ in /path/to/yii/framework/web/CController.php:483”. I mean: it searches first Product as controller and well it exists, so it doesn’t resolve ProductImage (that is, for Yii “ProductImage” is an Product’s action!).
Is there a way to solve this? Obviously, I can change sub directory’s name but I would like to keep same name because I think it is more logical (controllers inside “Product” dir extend ProductController).
Any hint? TIA