From ad9790b9d844c66dca4053272dba91b9b7b2dfb3 Mon Sep 17 00:00:00 2001 From: Sdogruyol Date: Thu, 29 Sep 2016 23:23:26 +0300 Subject: [PATCH] Update session doc --- src/kemal/session.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kemal/session.cr b/src/kemal/session.cr index 4477751..02e00b6 100644 --- a/src/kemal/session.cr +++ b/src/kemal/session.cr @@ -8,7 +8,7 @@ module Kemal # # get("/") do |env| # env.session["abc"] = "xyz" - # uid = env.session["user_id"]? + # uid = env.session["user_id"]?.as(Int32) # end # # Note that only String values are allowed.