On 8/5/06, Chris Abad <[EMAIL PROTECTED]> wrote:
Seems map.resource does not allow the use of additional :conditions.
Instead, it simply uses the :method condition.
I have a need to add additional conditions to the automatically
generated routes. Has anyone else come across this? Are there any
solutions in the works or any that people have already found?
What do you set in the :conditions besides the method? If you want
multiple methods you can do:
map.resources :foo, :member => { :blah => :any }
--
Rick Olson
http://techno-weenie.net
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core