ZF-9823: Zend_Rest_Route#assemble does not properly build new|edit urls
The assemble() method in Zend_Rest_Route can not create a url for the "new" action. Instead, it provides a link to the index action ("/products" instead of "/products/new"). This is not the same as the match() method which makes allowances for the "index" and "new" actions.
This may also be the root issue behind ZF-7753. Included patch is against trunk.
The fix is small, but it may create a (very small) BC-break/bug if the $params['index'] is also set as this also tries to generate a url for the index action. That said, the $params['index'] behavior may be a bug that should instead become $params['action] == 'index'. Please let me know if I should file this under another ticket.