summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/zorglub/session.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/zorglub/session.rb b/lib/zorglub/session.rb
index 157c786..c6a050e 100644
--- a/lib/zorglub/session.rb
+++ b/lib/zorglub/session.rb
@@ -7,7 +7,7 @@ module Zorglub
class Node
#
def session
- @session ||= Session.new @request
+ @session ||= Session.new @request, @response
end
end
#
@@ -45,8 +45,9 @@ module Zorglub
attr_accessor :session_key, :session_kls
end
#
- def initialize req
+ def initialize req, resp
@request = req
+ @response = resp
@instance = nil
end
#