From 24401e71bfb409818bbc3e49ef2dfcb5b5e9a7e4 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 18 Sep 2016 14:30:15 +1000 Subject: [PATCH] FEATURE: add seen_notification_id to current user serializer --- app/serializers/current_user_serializer.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/serializers/current_user_serializer.rb b/app/serializers/current_user_serializer.rb index e60da521b..498632e4a 100644 --- a/app/serializers/current_user_serializer.rb +++ b/app/serializers/current_user_serializer.rb @@ -34,7 +34,8 @@ class CurrentUserSerializer < BasicUserSerializer :read_faq, :automatically_unpin_topics, :mailing_list_mode, - :previous_visit_at + :previous_visit_at, + :seen_notification_id def include_site_flagged_posts_count? object.staff?