More routes.rb questions!

hi, if i did this:

map.details ‘food/bbq/:id’ :action => ‘foodDetails’

that is passing only 1 parameter


map.details ‘:category/:type/:id’ :action => ‘foodDetails’

is passing in 3 parameters correct?

now to minimize processing, i should limit the amount of parameters
passed in the url. therefore, do i just brute force my urls by writing
each one out like this?

map.bbqdetails ‘food/bbq/:id’ :action => ‘bbqdetails’

map.grilldetails ‘food/grilled/:id’ :action => ‘grilldetails’

map.italiandetails ‘food/italian/:id’ :action => ‘grilldetails’