 
   (start [component]
     (log/info "Generating web app...")
-    (assoc component :routes (make-routes repository (cfg/testing? config))))
+    (assoc component :routes (make-routes repository config)))
 
   (stop [component]
     (log/info "Tearing down web app...")

                       "/public/js/foundation.min.js")
     ~@js]))

(defn- make-routes [repository testing?]
  (c/routes
    (c/GET "/" []
      (render-page

      (cond-> (make-api-routes repository)
        :always wrap-params
        :always wrap-edn-params
        (not (cfg/testing? config)) wrap-edn-body))

    (route/resources "/public")))

