Remove unused function

This commit is contained in:
Tom Hughes 2020-05-05 19:20:21 +01:00
parent f898cecb5c
commit dbf0147d21

View file

@ -171,11 +171,7 @@ module ActiveSupport
end
##
# set request readers to ask for a particular error format
def error_format(format)
@request.env["HTTP_X_ERROR_FORMAT"] = format
end
# return request header to ask for a particular error format
def error_format_header(f)
{ "X-Error-Format" => f }
end