diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-04-26 13:35:44 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-04-26 13:35:44 +0200 |
commit | 1310d90f5fc08e69e721dd611f5d62a9154cc76a (patch) | |
tree | 20af2eb1e7ed80794e397d978fdc582b5e57fbfa /src | |
parent | 9bb6accec05610d4a27d1893843bad0bb5295b53 (diff) |
Feed generation: Fix multimethod dispatch function.
Diffstat (limited to 'src')
-rw-r--r-- | src/mulk/benki/feed.clj | 2 |
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) |