Remove unnecessary let

This commit is contained in:
Unknown 2018-10-28 16:28:12 +09:00
parent a8d6b32389
commit 2ba01028a0

View file

@ -378,9 +378,8 @@
(route-names [_]
names)
(match-by-path [_ path]
(let [slashed-path (ensure-slash path)]
(or (match-by-path static-router path)
(match-by-path wildcard-router path))))
(match-by-path wildcard-router path)))
(match-by-name [_ name]
(or (match-by-name static-router name)
(match-by-name wildcard-router name)))