This commit is contained in:
Gered 2013-05-21 22:40:23 -04:00
parent f70e17a653
commit eece264d27

View file

@ -65,9 +65,7 @@
(update-post id nil nil nil nil publish? reset-date?)) (update-post id nil nil nil nil publish? reset-date?))
(defn list-tags [] (defn list-tags []
(map (->view-keys
(fn [x]
(:key x))
(couch/with-db posts (couch/with-db posts
(couch/get-view "posts" "listTags" {:group true})))) (couch/get-view "posts" "listTags" {:group true}))))