Fork me on GitHub
#reitit
<
2024-03-03
>
hanDerPeder21:03:44

is it possible to share route data between method routes? ie, both GET /foo and POST /foo should get {:my-flag true}

wevrem23:03:23

(def routes
  ["/foo" {:my-flag true
           :get (fn [] ...)
           :post (fn [] ...)}])