My namespace currently begins:
(ns web.site
(:require ring.adapter.jetty)
(:require ring.middleware.reload)
(:require ring.middleware.stacktrace)
(:require ring.middleware.params)
(:require ring.middleware.keyword-params)
(:require ring.middleware.nested-params)
(:require ring.middleware.multipart-params)
(:require ring.middleware.cookies)
(:require ring.middleware.session)
(:require ring.middleware.session.cookie)
(:require ring.middleware.flash)
(:require ring.middleware.resource)
(:require ring.middleware.file-info))
There is obviously a certain redundancy here. How to remove it?
Try
(:require [ring.middleware reload stacktrace params keyword-params])
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With