From b5d66c8d5ce941a6ee290128807f1f9e50aee4e9 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 8 Mar 2016 16:59:30 -0500 Subject: mv src/guff/*-handler.cr src/guff/handler/ --- src/guff/test-handler.cr | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/guff/test-handler.cr (limited to 'src/guff/test-handler.cr') 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 -- cgit v1.2.3