aboutsummaryrefslogtreecommitdiff
path: root/src/guff/not-found-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/not-found-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/not-found-handler.cr')
-rw-r--r--src/guff/not-found-handler.cr10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/guff/not-found-handler.cr b/src/guff/not-found-handler.cr
deleted file mode 100644
index b15b1dc..0000000
--- a/src/guff/not-found-handler.cr
+++ /dev/null
@@ -1,10 +0,0 @@
-require "./handler"
-
-module Guff
- class NotFoundHandler < Handler
- def call(context : HTTP::Server::Context)
- context.response.status_code = 404
- context.response.puts "not found"
- end
- end
-end