Clojurians
#clojure-czech
<
2015-09-24
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

rarous04:09:32

Vypadá to nějak takhle :simple_smile:

(ns rarous.web)
(defmulti handler identity)

(ns project.web
  (:require [domkm.silk.serve :as serve]))
(def routes [[:index [[]]]])
(def app (-> (serve/ring-handler routes rarous.web/handler) (comment “middlewares")))
(defmethod rarous.web/handler :index [_] (fn [r] (comment “render view")))