fixed executing filters when before and after is defined at the same time (#612)

This commit is contained in:
Anton Maminov 2021-09-01 16:25:21 +03:00 committed by GitHub
parent 218be24221
commit 14aabb8907
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 1 deletions

View file

@ -71,7 +71,7 @@ module Kemal
end
private def radix_path(verb : String?, path : String, type : Symbol)
"#{type}/#{verb}/#{path}"
"/#{type}/#{verb}/#{path}"
end
# :nodoc: