From c47183393b9271c05e7c947340c499bda7ef0bda Mon Sep 17 00:00:00 2001 From: Scott Ostler Date: Thu, 17 Jun 2010 02:46:33 -0400 Subject: Vip-only fav posts --- src/site.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/site.clj') 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) -- cgit v1.2.3-70-g09d2