Forum: Ruby on Rails Is it possible to set :format using map.resources?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
5272b951d48b32bacc08271117cf4f1b?d=identicon&s=25 Tim Michaud (timm)
on 2007-03-09 22:07
It seems to be really easy to use responds_to if you are using a
map.connect route to set the format for mobile. But how would you do the
same thing with a map.resource route?

map.connect "mobile/people", :controller => "people", :format =>

Doesn't Work:
map.resources :people, :format => "mobile"
This topic is locked and can not be replied to.