Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.1
-
Fix Version/s: 1.10.0
-
Component/s: Zend_Rest_Route
-
Labels:None
-
Tags:
Description
if I define a rest controller from a module to be a rest route, the index controller from the module also becomes a rest controller:
Example:
$front->getRouter()->addRoute('guides::rules', new Zend_Rest_Route($front, array(),array('guides'=>array('rules'))));
This would cause the "guides" module's "index" controller to become a rest controller, unless I later override it with:
$front->getRouter()->addRoute('guides',
new Zend_Controller_Router_Route('guides/',
array(
'module' => 'guides',
'controller' => 'index',
'action' => 'index'
)));
which is basically a patch on the wound.
Can you tell me the exact HTTP request that gave this behavior?
e.g., GET /guides/index/index ?
Thanks,
-L