Make bookmarks menu appear all the time

This commit is contained in:
Arpit Jalan
2014-06-23 10:21:33 +05:30
parent 8161538966
commit 7e946a718e
6 changed files with 1 additions and 26 deletions

View File

@@ -10,7 +10,6 @@ class CurrentUserSerializer < BasicUserSerializer
:staff?,
:reply_count,
:topic_count,
:bookmarks_count,
:enable_quoting,
:external_links_in_new_tab,
:dynamic_favicon,
@@ -38,10 +37,6 @@ class CurrentUserSerializer < BasicUserSerializer
object.user_stat.topic_reply_count
end
def bookmarks_count
UserAction.bookmarks_stats(object.id)
end
def site_flagged_posts_count
PostAction.flagged_posts_count
end