diff options
| author | Scott Ostler <scottbot9000@gmail.com> | 2010-06-17 02:46:33 -0400 |
|---|---|---|
| committer | Scott Ostler <scottbot9000@gmail.com> | 2010-06-17 02:46:33 -0400 |
| commit | c47183393b9271c05e7c947340c499bda7ef0bda (patch) | |
| tree | dece36feb4762db9b92c28cc136675c4f9ee861c /src/site.clj | |
| parent | 574b8b6b6c78729dddda2f7d98eb3ea9e200aa4e (diff) | |
Vip-only fav posts
Diffstat (limited to 'src/site.clj')
| -rw-r--r-- | src/site.clj | 4 |
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) |
