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:
parent
2d6118297d
commit
2deaf8ef98
8 changed files with 137 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue