Permalink
Browse files

FIX: including info on post queue for non staff

  • Loading branch information...
SamSaffron committed Sep 28, 2015
1 parent da41b11 commit e5c5744dd591d21a2513effbb11957c479e4a6ce
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/serializers/topic_view_serializer.rb
@@ -215,8 +215,8 @@ def bookmarked
object.topic_user.try(:bookmarked)
end

def include_pending_posts_count
scope.user.staff? && NewPostManager.queue_enabled?
def include_pending_posts_count?
scope.is_staff? && NewPostManager.queue_enabled?
end

end

0 comments on commit e5c5744

Please sign in to comment.