aboutsummaryrefslogtreecommitdiff
path: root/src/guff/handlers.cr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-15 00:11:28 -0400
committerPaul Duncan <pabs@pablotron.org>2016-03-15 00:11:28 -0400
commit9ebc1a57335e3b183be9a0494cdc377a19219222 (patch)
tree1a38b83945320c5c19a26c7b652315e8a1897dea /src/guff/handlers.cr
parentcf34c28f84b9c47bdd03cf8011a5c40495c2b289 (diff)
downloadold-guff-9ebc1a57335e3b183be9a0494cdc377a19219222.tar.bz2
old-guff-9ebc1a57335e3b183be9a0494cdc377a19219222.zip
initial session support
Diffstat (limited to 'src/guff/handlers.cr')
-rw-r--r--src/guff/handlers.cr5
1 files changed, 5 insertions, 0 deletions
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
@@ -26,6 +26,11 @@ module Guff
}, {
env: %w{development},
init: ->(models : Models) {
+ SessionHandler.new(models) as HTTP::Handler
+ },
+ }, {
+ env: %w{development},
+ init: ->(models : Models) {
TestAuthHandler.new(models) as HTTP::Handler
},
}, {