I have the following code:
public function indexAction() { $view = $this->_getParam('view'); echo $view; } This does not print out whatever I enter after view/ unless I put index/ in front of of e.g. /index/view . Notice stackoverflow doesn't have 'index' in it's URL when we are looking at /questions/3123[any id will do].
How are they omitting the 'index' when I have to include it? I'm using Zend Framework.