code-dot-org/dashboard — pull request #204 by brandonbloom (2013-12-06 20:02:06+00:00)
Title: Force HTML responses for malbehaved user-agents.

The "right" thing to do here is actually to use `respond_to` and `format.html`, but that carries added risk for AJAX and other clients that may not be properly specifying their http-accepts header. This change simply forces resolution to HTML where that was clearly what the programmer intended.