Set correct namespace for Route

Fixes compile error "undefined constant Route"
This commit is contained in:
mang 2017-09-05 01:25:42 +02:00 committed by GitHub
parent 422313425c
commit 249912222d

View file

@ -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