I have one action mapped to two routes. Action look like this:
public function indexAction($salon=null,$page=null)
{
}
And routes like this, its route group witch is mounted later:
$this->addGet('/index/{salon:[0-9]+$}', array('action'=>'index','controller'=>'department'));
$this->addGet('/page/{page:[0-9]+$}', array('action'=>'index','controller'=>'department'));
But when i acess /page/1 the page is stored in $salon, is that how it should work ?