Skip to content

Commit

Permalink
FIX: including info on post queue for non staff
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Sep 28, 2015
1 parent da41b11 commit e5c5744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/serializers/topic_view_serializer.rb
Expand Up @@ -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.