Routing error with .xml

I'm trying to get a simple XML response going in one of my controllers
so I thought it'd be as easy as adding something like

respond_to do |format|
  format.xml {render :xml = > @stuff.to_xml }

to the bottom of the controller method and the default routes would
take care of it. But instead when I try something like


I get a routing error saying that there's no route for stuffs/

Am I missing something here? I admit the application is not RESTful
(it's kind of an old app) but it is running Rails 2.0.2 and the
default routes are set as

  map.connect ':controller/:action/:id.:format'
  map.connect ':controller/:action/:id'

Anyone have this problem before?


Does http://localhost/stuffs.xml work?

PeteSalty wrote: