FEATURE: add seen_notification_id to current user serializer

This commit is contained in:
Sam 2016-09-18 14:30:15 +10:00
parent 6162768a3b
commit 24401e71bf

View file

@ -34,7 +34,8 @@ class CurrentUserSerializer < BasicUserSerializer
:read_faq, :read_faq,
:automatically_unpin_topics, :automatically_unpin_topics,
:mailing_list_mode, :mailing_list_mode,
:previous_visit_at :previous_visit_at,
:seen_notification_id
def include_site_flagged_posts_count? def include_site_flagged_posts_count?
object.staff? object.staff?