Removed redundant variable
This commit is contained in:
parent
2c9d967890
commit
cd6f54b714
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@ class Kemal::Handler < HTTP::Handler
|
||||||
end
|
end
|
||||||
|
|
||||||
def exec_request(request)
|
def exec_request(request)
|
||||||
uri = request.resource
|
|
||||||
components = request.path.not_nil!.split "/"
|
components = request.path.not_nil!.split "/"
|
||||||
@routes.each do |route|
|
@routes.each do |route|
|
||||||
params = route.match(request.method, components)
|
params = route.match(request.method, components)
|
||||||
|
|
Loading…
Reference in a new issue