refactor ns-forms

integration-tests
Josha von Gizycki 6 years ago
parent 94a9e10544
commit 70d546749c

@ -5,11 +5,12 @@
[formulare.core :as form]
[wanijo.framework.routing :refer [register! path]]
[wanijo.attribute.domain :as domain]
[wanijo.schema.view :as schema-view]
[wanijo.schema.domain :as schema-domain]
[wanijo.schema.routes :as schema-routes]
[wanijo.schema.forms :as schema-forms]
[wanijo.schema.middleware :as schema-middleware]))
[wanijo.schema
[view :as schema-view]
[domain :as schema-domain]
[routes :as schema-routes]
[forms :as schema-forms]
[middleware :as schema-middleware]]))
(defn new! [req]
(let [schema-uuid (get-in req [:params :schema])]

@ -1,8 +1,7 @@
(ns wanijo.schema.middleware
(:require [ring.util.response :as resp]
[wanijo.framework.routing :refer [path]]
[wanijo.schema.domain :as domain]
[wanijo.framework.common :refer [in?]]))
[wanijo.schema.domain :as domain]))
(defn wrap-user-schemas [handler]
(fn [req]

Loading…
Cancel
Save