$router->addRoute('routeName', new Zend_Controller_Router_Route(
'test/:category/', array(
'module' => 'default',
'controller' => 'test',
'action' => ':category'
)
));
それが現時点での私のコードです(上記を参照)。特定のパラメーターで (URL 経由で) アクションを呼び出すにはどうすればよいですか? URL は次のようdomain.com/test/news/
になります。テスト コントローラーでアクション newsAction() を呼び出します。上記のコードでは、次のエラーが発生します。Action "category" does not exist and was not trapped in __call()