discourse/discourse — pull request #2720 by techAPJ (2014-08-29 17:56:46+00:00)
Title: FIX: do not redirect topic for JSON request

Do not redirect and track topic server side if the request format is JSON. cc @SamSaffron @eviltrout

Also fixes https://github.com/discourse/discourse_api/issues/30