summary refs log tree commit
path: root/lib/rack/showexceptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/showexceptions.rb')
-rw-r--r--lib/rack/showexceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/showexceptions.rb b/lib/rack/showexceptions.rb
index 60999e64..44ee5678 100644
--- a/lib/rack/showexceptions.rb
+++ b/lib/rack/showexceptions.rb
@@ -47,7 +47,7 @@ module Rack
     end
 
     def prefers_plaintext?(env)
-      !accepts_html(env)
+      !accepts_html?(env)
     end
 
     def accepts_html?(env)