Set correct namespace for Route
Fixes compile error "undefined constant Route"
This commit is contained in:
parent
422313425c
commit
249912222d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue