about summary refs log tree commit
path: root/lib/metropolis/common.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/metropolis/common.rb')
-rw-r--r--lib/metropolis/common.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/metropolis/common.rb b/lib/metropolis/common.rb
index 3bfbf77..cdae590 100644
--- a/lib/metropolis/common.rb
+++ b/lib/metropolis/common.rb
@@ -22,10 +22,10 @@ module Metropolis::Common
       when "PUT"
         put(key, env)
       else
-        [ 405, {}, [] ]
+        r(405)
       end
     else # OPTIONS
-      [ 405, {}, [] ]
+      r(405)
     end
   end
 end