Liking cljdoc? Tell your friends :D
Clojure only.

toyokumo.commons.ring.middleware.trailing-slash


wrap-trailing-slashclj

(wrap-trailing-slash handler)

Modifies the request :uri and :path-info before calling the handler. Removes a single trailing slash from the end of the uri if present.

Original https://gist.github.com/dannypurcell/8215411

Modifies the request :uri and :path-info before calling the handler.
Removes a single trailing slash from the end of the uri if present.

Original https://gist.github.com/dannypurcell/8215411
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close