lib/modern/app/request_handling.rb in modern-0.4.5 vs lib/modern/app/request_handling.rb in modern-0.4.6

- old
+ new

@@ -56,10 +56,10 @@ end retval = validate_output!(route_content, retval, request, route) response.headers["Content-Type"] = output_converter.media_type - response.write(output_converter.converter.call(route_content.type, retval)) + response.write(output_converter.converter.call(route_content.type, retval, output_converter)) end rescue StandardError => err route_logger.error(err) raise end