summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/zorglub/node.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb
index 9d71a8c..d22c1c9 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -240,7 +240,7 @@ module Zorglub
resp = node.response
resp.status = 404
resp['Content-Type'] = 'text/plain'
- resp.write "%s mapped at %p can't respond to : %p" % [ node.class.name, node.map, node.request.env['PATH_INFO'] ]
+ resp.write "%s mapped at %p can't respond to : %p" % [ node.class.name, node.map, node.meth ]
resp
end
#
@@ -249,7 +249,6 @@ module Zorglub
attr_reader :request, :response, :content, :mime, :state, :engine, :meth, :args
#
def initialize env, meth, args, partial=false
- @env = env
@meth = meth
@args = args
@partial = partial