Is there a way to take this common route pattern:
map.category '/by/:type/:category', :controller => 'category', :action => 'show', :page_number => '1' map.connect '/by/:type/:category/page/:page_number', :controller => 'category', :action => 'show', :page_number => /\d+/
And do it with one line?
btw, this allows /by/type/people (for page 1, implicit), and /by/type/people/page/xx (for pages after 1).
- Rob