Topic: Loading xml, json

Help, what to display in the controller so that when GET query controller/ method? Type = XML XML page loaded, and if type = json or default page json

Re: Loading xml, json

andrey-werewoolf wrote:

Help, what to display in the controller so that when GET query controller/ method? Type = XML XML page loaded, and if type = json or default page json. Rails 3.2.3