From 70d546749c943ab44da465ea388f9d5ff896c82d Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Thu, 11 Oct 2018 15:48:45 +0200 Subject: [PATCH] refactor ns-forms --- src/wanijo/attribute/routes.clj | 11 ++++++----- src/wanijo/schema/middleware.clj | 3 +-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wanijo/attribute/routes.clj b/src/wanijo/attribute/routes.clj index ec6fce3..43b6981 100644 --- a/src/wanijo/attribute/routes.clj +++ b/src/wanijo/attribute/routes.clj @@ -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])] diff --git a/src/wanijo/schema/middleware.clj b/src/wanijo/schema/middleware.clj index 7cefd7f..df15471 100644 --- a/src/wanijo/schema/middleware.clj +++ b/src/wanijo/schema/middleware.clj @@ -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]