2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

Custom Wordpress Serializer and Path, with Specs

This commit is contained in:
Robin Ward 2013-06-28 13:55:34 -04:00
parent 2d6118297d
commit 2deaf8ef98
8 changed files with 137 additions and 42 deletions

View file

@ -1,5 +1,3 @@
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, :posts_count