Ruby on Rails Monday, October 8, 2018

I'm trying to respond xml for any action in my controller but not just by rendering an object I wanna use a view and all the examples I find show how to respond xml with an object like  `respond_with(@asd) # respond_with A` or `  format.xml { render xml: @asd}` 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/11d872be-6516-4492-a3ab-0e8370d0b950%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment