about summary refs log tree commit homepage
path: root/lib/mongrel/handlers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mongrel/handlers.rb')
-rw-r--r--lib/mongrel/handlers.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mongrel/handlers.rb b/lib/mongrel/handlers.rb
index b0a399b..a5f225e 100644
--- a/lib/mongrel/handlers.rb
+++ b/lib/mongrel/handlers.rb
@@ -101,8 +101,7 @@ module Mongrel
   # can change it anything you want using the DirHandler.default_content_type
   # attribute.
   class DirHandler < HttpHandler
-    attr_reader :default_content_type
-    attr_writer :default_content_type
+    attr_accessor :default_content_type
     attr_reader :path
 
     MIME_TYPES = {