Need to remove /index/ form URLs in my Zend_Navigation XML config
- by jwhat
I'm using Zend_Navigation to create my nav. I want the URL to be domain.com/me and not domain.com/index/me. What is wrong with my config XML:
<?xml version="1.0" encoding="UTF-8"?>
<config>
<nav>
<home>
<label>Home</label>
<controller>index</controller>
<action>index</action>
<pages>
<me>
<label>Me</label>
<module>default</module>
<controller>index</controller>
<action>me</action>
<resource>user</resource>
<privilege>logout</privilege>
</me>
</pages>
</home>
</nav>
</config>