ZF-11104: zf create controller ignores index-action-included value
Description
C:\Program Files\Zend\Apache2\htdocs\xxx>"C:\Program Files\Zend\ZendServer\share\ZendFramework\bin\zf.bat" create controller cart index-action-included=0 frontend Note: The canonical controller name that is used with other providers is "Cart"; not "cart" as supplied Creating a controller at C:\Program Files\Zend\Apache2\htdocs\xxx/application/modules/frontend/controllers/CartController.php Creating an index action method in controller Cart Creating a view script for the index action method at C:\Program Files\Zend\Apache2\htdocs\xxx/application/modules/frontend/views/scripts/cart/index.phtml >>> WTF??? Creating a controller test file at C:\Program Files\Zend\Apache2\htdocs\xxx/tests/application/controllers/CartControllerTest.php Updating project profile 'C:\Program Files\Zend\Apache2\htdocs\xxx/.zfproject.xml'
Comments
Posted by Andrey Shevchenko (distdev) on 2011-04-29T15:43:55.000+0000
you should use zf create controller cart --index-action-included=0
pay attention to -- before index-action-included
Posted by Alexandr Iline (mecommayou) on 2011-04-29T16:20:12.000+0000
My bad, thx.