Add post count to similar posts popup. Fix alignment.

This commit is contained in:
Robin Ward
2013-05-14 16:51:47 -04:00
parent 21b4b8d5d5
commit 05ed2af08f
4 changed files with 26 additions and 14 deletions

View File

@ -2,5 +2,5 @@ require_dependency 'age_words'
# The most basic attributes of a topic that we need to create a link for it.
class BasicTopicSerializer < ApplicationSerializer
attributes :id, :fancy_title, :slug
attributes :id, :fancy_title, :slug, :posts_count
end