summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-04 16:08:29 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-04 16:08:29 +0100
commit53021059e8e7eeb831fb91a45629618bc745940b (patch)
tree63cf09ce38850647f8c4e48f85ff7af5211561b5
parent0bb3a559dbadb1a55eb2c5ae604549120abaa1fb (diff)
downloadzorglub-53021059e8e7eeb831fb91a45629618bc745940b.zip
zorglub-53021059e8e7eeb831fb91a45629618bc745940b.tar.gz
add rack_session
-rw-r--r--lib/zorglub/rack_session.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/zorglub/rack_session.rb b/lib/zorglub/rack_session.rb
new file mode 100644
index 0000000..7e2bda7
--- /dev/null
+++ b/lib/zorglub/rack_session.rb
@@ -0,0 +1,13 @@
+# -*- coding: UTF-8 -*-
+#
+module Zorglub
+ #
+ class Node
+ #
+ def session
+ @request.session
+ end
+ #
+ end
+ #
+end