|
|
@ -4,9 +4,8 @@
|
|
|
|
[formulare.core :as form]
|
|
|
|
[formulare.core :as form]
|
|
|
|
[wanijo.infrastructure.routing :refer [register! path]]
|
|
|
|
[wanijo.infrastructure.routing :refer [register! path]]
|
|
|
|
[wanijo.schema.db :as domain-schema]
|
|
|
|
[wanijo.schema.db :as domain-schema]
|
|
|
|
[wanijo.instance
|
|
|
|
[wanijo.instance.db :as db-instance]
|
|
|
|
[view :as view-instance]
|
|
|
|
[wanijo.instance.view.show :refer [show]]
|
|
|
|
[db :as db-instance]]
|
|
|
|
|
|
|
|
[wanijo.tag
|
|
|
|
[wanijo.tag
|
|
|
|
[db :as domain]
|
|
|
|
[db :as domain]
|
|
|
|
[forms :as forms]]))
|
|
|
|
[forms :as forms]]))
|
|
|
@ -21,7 +20,7 @@
|
|
|
|
user-uuid)
|
|
|
|
user-uuid)
|
|
|
|
(resp/redirect (path :instance-show
|
|
|
|
(resp/redirect (path :instance-show
|
|
|
|
{:uuid instance-uuid})))
|
|
|
|
{:uuid instance-uuid})))
|
|
|
|
(view-instance/show!
|
|
|
|
(show
|
|
|
|
(db-instance/full-instance-by-uuid! instance-uuid)
|
|
|
|
(db-instance/full-instance-by-uuid! instance-uuid)
|
|
|
|
(domain-schema/accessible-schemas! user-uuid)
|
|
|
|
(domain-schema/accessible-schemas! user-uuid)
|
|
|
|
req))))
|
|
|
|
req))))
|
|
|
|