From 249912222de604da4e45c63007da2e767ecaf0ed Mon Sep 17 00:00:00 2001 From: mang Date: Tue, 5 Sep 2017 01:25:42 +0200 Subject: [PATCH] Set correct namespace for Route Fixes compile error "undefined constant Route" --- src/kemal/ext/context.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kemal/ext/context.cr b/src/kemal/ext/context.cr index 06f95ad..c466fe3 100644 --- a/src/kemal/ext/context.cr +++ b/src/kemal/ext/context.cr @@ -33,7 +33,7 @@ class HTTP::Server end def route - route_lookup.payload.as(Route) + route_lookup.payload.as(Kemal::Route) end def route_lookup