lib/ballast/concerns/errors_handling.rb in ballast-1.9.1 vs lib/ballast/concerns/errors_handling.rb in ballast-1.9.2

- old
+ new

@@ -45,10 +45,10 @@ details = {type: @error_title} details[:backtrace] = @error.backtrace if @error.respond_to?(:backtrace) data = prepare_ajax(@error_code, details, @error_message || @error.message) send_ajax(data, format: format) else - render(nothing: true, status: @error_code, layout: layout, formats: [:html]) + render(html: "", status: @error_code, layout: layout, formats: [:html]) end end end end end