diff options
author | Azul <azul@leap.se> | 2013-09-02 08:59:57 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-09-03 08:30:12 +0200 |
commit | a78b5f2a6aa25bfe9a34e865f128289d9bb8f3c0 (patch) | |
tree | 9dd72f7ed6905c7fd5555fcd17ef1588c4b01a6d /config/environment.rb | |
parent | c17edbc069c6dcfc3dd20d8cdfb5922032769a5f (diff) |
Ensure json requests get json error response on failure
Normally rails sends an html page which can't be parsed by the client.
Diffstat (limited to 'config/environment.rb')
0 files changed, 0 insertions, 0 deletions