search for: parties_query_regexp

Displaying 1 result from an estimated 1 matches for "parties_query_regexp".

2009 Jul 06
0
Routing via regexp with map.resources?
...', :index => ''index'', :requirements => { :people_query_regexp => /people.*/ } But people is a RESTful resource, so I want to do the same thing using map.resources instead of map.connect. If I change the routing to: map.resources '':parties_query_regexp'', :controller => ''parties'', :requirements => { :parties_query_regexp => / parties.*/ } ...then the server fails on startup like so: lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/ route_set.rb:141:in `define_...