1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

10 commits

Author SHA1 Message Date
Guo Xiang Tan
dbacaff1c3 Remove redundant code. 2014-05-20 18:25:20 -07:00
Vipul A M
7133b0090e remove variable and fix warning 2013-05-09 20:31:31 +05:30
Jeremy Kemper
5e03239d59 Fix that JSON and XML exception responses should give the HTTP error message for their status, by default, not the message from the underlying exception 2013-05-08 21:28:50 -07:00
Santiago Pastorino
c1b1956a15 Use status, content_type, body method signature for render too 2012-06-14 21:58:05 -03:00
Carlos Antonio da Silva
9611d561ed Refactor public exceptions to reuse render format method 2012-06-14 21:28:37 -03:00
Santiago Pastorino
fa4b0295b6 content_type is already a Mime::Type object 2012-06-12 13:42:10 -03:00
Santiago Pastorino
0e06e8a692 This consider_all_requests_local doesn't make sense
This middleware is only for Public Exceptions.
This follows bd8c0b8a
2012-06-12 13:25:11 -03:00
Santiago Pastorino
bd8c0b8a7a Return proper format on exceptions 2012-06-11 18:07:30 -03:00
José Valim
5359262695 ShowExceptions should understand X-Cascade responses from exceptions app. 2011-12-16 10:45:59 +01:00
José Valim
deef8dd682 Extract the rendering of public exceptions pages into a Rack app. 2011-12-16 10:45:59 +01:00