edpaget/Panoptes — pull request #2 by camallen (2014-07-24 14:29:06+00:00)
Title: refactor ContentTypeFilter and gracefully handle invalid json params

I've refactored your ContentTypeFilter code and added a rack middleware to gracefully handle malformed json params for API routes only when `content_type = application_json`.