in 3.1.1 at least you can add , :format => false to the end of the route.
found here.. .http://guides.rubyonrails.org/routing.html#request-based-constraints under section 3.11 Route Globbing -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/4UliA2W07HwJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.