aboutsummaryrefslogtreecommitdiff
path: root/src/guff/test-handler.cr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-08 16:59:30 -0500
committerPaul Duncan <pabs@pablotron.org>2016-03-08 16:59:30 -0500
commitb5d66c8d5ce941a6ee290128807f1f9e50aee4e9 (patch)
tree8e65a5f082f41f66a9b2b7f7821a884a6a9cdc6a /src/guff/test-handler.cr
parent575e4c49131e7699fc23fca78ec14b400680839a (diff)
downloadold-guff-b5d66c8d5ce941a6ee290128807f1f9e50aee4e9.tar.bz2
old-guff-b5d66c8d5ce941a6ee290128807f1f9e50aee4e9.zip
mv src/guff/*-handler.cr src/guff/handler/
Diffstat (limited to 'src/guff/test-handler.cr')
-rw-r--r--src/guff/test-handler.cr14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/guff/test-handler.cr b/src/guff/test-handler.cr
deleted file mode 100644
index 3856400..0000000
--- a/src/guff/test-handler.cr
+++ /dev/null
@@ -1,14 +0,0 @@
-require "./handler"
-
-module Guff
- class TestHandler < Handler
- def call(context : HTTP::Server::Context)
- if ((context.request.path || "").match(/^\/test\//))
- context.response.content_type = "text/html"
- context.response.puts "test"
- else
- call_next(context)
- end
- end
- end
-end