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 -- http://robsanheim.com http://seekingalpha.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---