Leaving just search/price/:price/ I get price "100-200" in request. Can I
this price be an array?

Regards,
Saša Stamenković


On Mon, May 24, 2010 at 9:39 PM, Саша Стаменковић <[email protected]>wrote:

> I need route like this
>
> search/price/100-200/year/1947-2010/city/Nis/sort_by/sth/mode/1
>
> search/price/:price-:price/year/:year-:year/city/:city/sort_by/:sort_by/mode/:mode
>
> This end up with uncaught exception 'Zend_Controller_Router_Exception'
> with message 'price-:price is not specified'.
>
> Can I achieve that this range 100-200 be in request like array(100, 200),
> if not, I'll be satisfied with "100-200".
>
> Can someone suggest best practices for building such routes?
>
> Regards,
> Saša Stamenković
>

Reply via email to