Forum: Ruby on Rails REST default response format

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.
on 2007-04-23 14:17
(Received via mailing list)

Does anybody know how to change the default response format of RESTful
My controllers support both XML and JSON responses but I need JSON one
to be the default one.

Changing the order of the format.xx {} clauses does not seem to solve
the problem.

This topic is locked and can not be replied to.