I’m as new to Clojure as most people reading this book, but exploring the namespaces used so far, I think using
noir.request/*request* is a better way:
(:require [noir.request :refer [*request*]]))
(defn base [& body]
[:title "Welcome to picture-gallery"]
Skimming the Compojure documentation, it seems to me that
Renderable would be more appropriate for cases where you need to render a complex type that’s not supported out of the box.