Hi.
I've a problem understanding how to setup a route which can have a unknown amount of parameters. Let's say, we've items related to categeories. Each category can have parent categories:
Television -> Samsung -> LCD
Television -> Samsung -> Plasma
Television -> Philips -> LCD
Television -> Philips -> CRT
Hifi -> Amplifier -> Marantz -> Normal
Hifi -> Amplifier -> Marantz -> RackMounted -> FullSize
Hifi -> Amplifier -> Marantz -> RackMounted -> Halfsize
Hifi -> Amplifier -> Marantz -> Legacy
Each item can be attached to a category:
UE4032MH13 will be attached to Television -> Samsung -> LCD
NR1503 will be attached to Hifi -> Amplifier -> Marantz -> Normal
and so on...
So the url to render the item details could be:
http://xyz.com/category/television/samsung/lcd/ue4032mh13
The problem is, that I don't know to many sub-categories would exist in the future. Is there a common way to define a route excepting unlimited sub route parameters?
Thank you,
kaju