Fork me on GitHub
#pedestal
<
2017-06-18
>
henrik05:06:49

Man, Pedestal is challenging to use.

henrik05:06:47

So, why does …

(def routes `{"/" {:interceptors [(body-params/body-params) http/html-body]
                   :get home-page}})
… serve the page correctly, while…
(def common-interceptors [(body-params/body-params) http/html-body])

(def routes `{"/" {:interceptors common-interceptors
                   :get home-page}})
… generates an exception?

henrik05:06:40

(working from the Lein template)