locomotivecms/engine — pull request #799 by peterssonjesper (2013-09-11 18:10:50+00:00)
Title: The API should return a proper content type when asking for entries

I noticed that the API always returns the content type text/html, even though json or xml is requested.

The reason for this was because the method content_type (which is a vanilla method in Rails controllers) was overloaded. I simply renamed it.