summaryrefslogtreecommitdiff
path: root/src/site.clj
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2010-06-17 02:46:33 -0400
committerScott Ostler <scottbot9000@gmail.com>2010-06-17 02:46:33 -0400
commitc47183393b9271c05e7c947340c499bda7ef0bda (patch)
treedece36feb4762db9b92c28cc136675c4f9ee861c /src/site.clj
parent574b8b6b6c78729dddda2f7d98eb3ea9e200aa4e (diff)
Vip-only fav posts
Diffstat (limited to 'src/site.clj')
-rw-r--r--src/site.clj4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/site.clj b/src/site.clj
index e8f2b1e..e2947fc 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -781,7 +781,9 @@ FROM users u
avatar (:avatar user-info)
url (str nick "/favorites")
page-title (str nick "'s favorites")]
- (tagged-dumps-template session params "favorite" url page-title :tag-user-id user-id :avatar avatar)))
+ (tagged-dumps-template session params "favorite" url page-title :tag-user-id user-id
+ :avatar avatar
+ :include-vip (is-vip? session))))
(defn json-favorites [session params]
(let [nick (params :nick)