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 builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close