averyvery/freeway — Issue #6: URL segment constraints
Author: AboutWout
Created: 2011-11-08 15:31:52+00:00
State: open

Hi Doug,

Very nice extension and I can't wait to dig in (when I have a need for it), but there's one thing I'm missing compared to 'normal' routes in CI.

With CI routes you can do something like this:

`$route['product/(:num)'] = "catalog/product_lookup_by_id/$1";``

Which basically says that the 2nd segment has te be a number. Is there any way to incorporate this in Freeway?

– Wouter