diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-03-15 00:11:28 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-03-15 00:11:28 -0400 |
commit | 9ebc1a57335e3b183be9a0494cdc377a19219222 (patch) | |
tree | 1a38b83945320c5c19a26c7b652315e8a1897dea /src/guff/handlers.cr | |
parent | cf34c28f84b9c47bdd03cf8011a5c40495c2b289 (diff) | |
download | old-guff-9ebc1a57335e3b183be9a0494cdc377a19219222.tar.bz2 old-guff-9ebc1a57335e3b183be9a0494cdc377a19219222.zip |
initial session support
Diffstat (limited to 'src/guff/handlers.cr')
-rw-r--r-- | src/guff/handlers.cr | 5 |
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 }, }, { |