fix standalone-app

integration-tests
Josha von Gizycki 6 years ago
parent c180f7dcf1
commit cbf0e5842b

@ -7,15 +7,17 @@
[ring.util.response :as rur]
[ring.middleware.session.cookie :as session-cookie]
[wanijo.home.routes :as home-routes]
[wanijo.schema.routes :as schema-routes]
[wanijo.schema.middleware :as schema-middleware]
[wanijo.schema
[routes :as schema-routes]
[middleware :as schema-middleware]]
[wanijo.user.routes :as user-routes]
[wanijo.attribute.routes :as attr-routes]
[wanijo.instance.routes :as instance-routes]
[wanijo.visualisation.routes :as vis-routes]
[wanijo.framework.auth :as auth]
[wanijo.framework.devmode :as devmode]
[wanijo.framework.routing :refer [path]]))
[wanijo.framework
[auth :as auth]
[devmode :as devmode]
[routing :refer [path]]]))
(defn- wrap-login-redirect [handler]
(fn [req]
@ -38,7 +40,7 @@
(-> app-routes
devmode/wrap-devmode
schema-middleware/wrap-user-schemas
wrap-defaults))
(wrap-defaults site-defaults)))
(def app
(-> app-routes

Loading…
Cancel
Save