discourse/discourse — pull request #3024 by oblakeerickson (2014-12-04 18:59:46+00:00)
Title: Have pick_avatar return json.

I'm working on writing a test in the discourse_api gem for uploading
avatars and the pick method needs to return a json response.

I also added a test to make sure json is returned.