action parameters routing not working in Zend framework routes.ini
问题 I'm trying to set up a route in Zend Framework (version 1.11.11) in a routes.ini file, which would allow be to match the following url: my.domain.com/shop/add/123 to the ShopController and addAction . However, for some reason the parameter (the number at the end) is not being recognized by my action. The PHP error I'm getting is Warning: Missing argument 1 for ShopController::addAction(), called in... I know I could set this up using PHP code in the bootstrap, but I want to understand how to