mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 10:01:11 +08:00
Merge pull request #2903 from santouras/fix/adjust-wp-serializer
Add post_number to PostWordpressSerializer
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
# The most basic attributes of a topic that we need to create a link for it.
|
# The most basic attributes of a topic that we need to create a link for it.
|
||||||
class PostWordpressSerializer < BasicPostSerializer
|
class PostWordpressSerializer < BasicPostSerializer
|
||||||
|
attributes :post_number
|
||||||
|
|
||||||
include UrlHelper
|
include UrlHelper
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user