From 9ebc1a57335e3b183be9a0494cdc377a19219222 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 15 Mar 2016 00:11:28 -0400 Subject: initial session support --- src/guff/handlers.cr | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/guff/handlers.cr') diff --git a/src/guff/handlers.cr b/src/guff/handlers.cr index e573673..1e0e6fc 100644 --- a/src/guff/handlers.cr +++ b/src/guff/handlers.cr @@ -23,6 +23,11 @@ module Guff init: ->(models : Models) { GuffStuffHandler.new(models) as HTTP::Handler }, + }, { + env: %w{development}, + init: ->(models : Models) { + SessionHandler.new(models) as HTTP::Handler + }, }, { env: %w{development}, init: ->(models : Models) { -- cgit v1.2.3