aboutsummaryrefslogtreecommitdiff
path: root/src/guff/handlers/test-auth.cr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-31 17:21:22 -0400
committerPaul Duncan <pabs@pablotron.org>2016-03-31 17:21:22 -0400
commitd0d3a18a63948740027fb9fd760e9a7b15032776 (patch)
treef1184708d9f766319861696a26ddd153e60265e7 /src/guff/handlers/test-auth.cr
parent1e44073dedc5f64f4afa7e17e6ec2374f6a2803f (diff)
downloadold-guff-d0d3a18a63948740027fb9fd760e9a7b15032776.tar.bz2
old-guff-d0d3a18a63948740027fb9fd760e9a7b15032776.zip
whitespace
Diffstat (limited to 'src/guff/handlers/test-auth.cr')
-rw-r--r--src/guff/handlers/test-auth.cr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guff/handlers/test-auth.cr b/src/guff/handlers/test-auth.cr
index a0238f2..31da98b 100644
--- a/src/guff/handlers/test-auth.cr
+++ b/src/guff/handlers/test-auth.cr
@@ -3,6 +3,7 @@ require "../views/html/test/auth"
class Guff::Handlers::TestAuthHandler < Guff::Handler
PATH_RE = %r{^/test/auth/?$}
+
def call(context : HTTP::Server::Context)
if PATH_RE.match(context.request.path.not_nil!)
case context.request.method