|
|
@ -40,7 +40,12 @@
|
|
|
|
(domain/full-instance-by-uuid! uuid))
|
|
|
|
(domain/full-instance-by-uuid! uuid))
|
|
|
|
|
|
|
|
|
|
|
|
(defn show! [uuid req]
|
|
|
|
(defn show! [uuid req]
|
|
|
|
(view/show! (instance! uuid) req))
|
|
|
|
(let [user-uuid (-> req :session :uuid)
|
|
|
|
|
|
|
|
instance (assoc (instance! uuid)
|
|
|
|
|
|
|
|
:starred
|
|
|
|
|
|
|
|
(domain/is-starred! uuid
|
|
|
|
|
|
|
|
user-uuid))]
|
|
|
|
|
|
|
|
(view/show! instance req)))
|
|
|
|
|
|
|
|
|
|
|
|
(defn form! [uuid attrs]
|
|
|
|
(defn form! [uuid attrs]
|
|
|
|
(forms-inst/with-attributes attrs))
|
|
|
|
(forms-inst/with-attributes attrs))
|
|
|
|