Fixed an indexing bug in filepath
This commit is contained in:
parent
000e53e742
commit
1039d66c73
|
@ -43,7 +43,8 @@ module Landline
|
|||
|
||||
request.push_state
|
||||
path, splat, param = @pattern.match(request.path)
|
||||
do_filepath(request, request.path.delete_suffix(path))
|
||||
do_filepath(request, request.path.delete_suffix('/')
|
||||
.delete_suffix(path))
|
||||
request.path = path
|
||||
request.splat.append(*splat)
|
||||
request.param.merge!(param)
|
||||
|
|
Loading…
Reference in New Issue