I have a resource that needs to be able to provide the first instance of itself as an XML file.
My first inclination is to create a custom action for this routed to say: http://www.example.com/recos/first.xml And in routes.rb I would have: map.resources :recos, :collection => { :first => :get } But with Hobo's add_routes method I'm not sure how to do this. Is there a better way to set this sort of thing up? How do I setup a custom action with Hobo? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
