This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-06
Channels
- # architecture (2)
- # aws (6)
- # bangalore-clj (3)
- # beginners (7)
- # boot (29)
- # cider (26)
- # cljs-dev (52)
- # cljsrn (1)
- # clojure (249)
- # clojure-dev (9)
- # clojure-italy (2)
- # clojure-norway (3)
- # clojure-russia (178)
- # clojure-uk (30)
- # clojureremote (6)
- # clojurescript (91)
- # core-async (4)
- # cursive (8)
- # datascript (3)
- # datavis (1)
- # datomic (6)
- # emacs (3)
- # figwheel (2)
- # hoplon (14)
- # incanter (6)
- # luminus (8)
- # mount (7)
- # off-topic (22)
- # om (25)
- # onyx (41)
- # pedestal (7)
- # re-frame (9)
- # ring (1)
- # spacemacs (4)
- # sql (1)
- # uncomplicate (1)
- # unrepl (37)
- # untangled (90)
- # yada (77)
(context "/activity" []
(GET "/" [] (activity/index-page2))
(GET "/hourly" [] (activitytwo/index-page2))
(GET "/daily" [] (activitythree/index-page2))
(GET "/benchmark" [] (activityfour/index-page2)))
Compojure nesting routes. If I try to load the activity/daily report, the bootstrap template (hiccup) lost the css/ js things.. how can I fix it?
that entirely depends on what activetythree/index-page2 returns - perhaps you want to use a common template inside all your handlers to ensure the right js/css is always present?
the router doesn't control this at all
@noisesmith ok, therefore… thanks the answer. (yes all js/css present normally in the template, if I change the routes.. then lost..)