summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-04-26 13:35:44 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-04-26 13:35:44 +0200
commit1310d90f5fc08e69e721dd611f5d62a9154cc76a (patch)
tree20af2eb1e7ed80794e397d978fdc582b5e57fbfa
parent9bb6accec05610d4a27d1893843bad0bb5295b53 (diff)
Feed generation: Fix multimethod dispatch function.
-rw-r--r--src/mulk/benki/feed.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mulk/benki/feed.clj b/src/mulk/benki/feed.clj
index 31125dd..35f0861 100644
--- a/src/mulk/benki/feed.clj
+++ b/src/mulk/benki/feed.clj
@@ -11,7 +11,7 @@
(defonce abdera (Abdera.))
-(defmulti feed-add-entry #(type (second %)))
+(defmulti feed-add-entry (fn [feed item] (type item)))
(defmethod feed-add-entry :mulk.benki.book_marx/bookmark [feed item]
(doto (.addEntry feed)