Fork me on GitHub
#reitit
<
2019-01-31
>
ikitommi05:01:24

btw, if you end up merging routers, you could think of just merging the routes instead and have an explicit options for it. e.g.

(reitit.ring/ring-handler
  (reitit.ring/router
     controller/main-website-routes ;; just data
     register-routes ;; data too
  ... shared default handler ...
  ... shared options ...))

kanwei17:01:51

@ikitommi lol I literally just did that this morning without reading your message

kanwei17:01:05

totally no reason to have routers for each separate section

kanwei17:01:14

all works still 🙂