mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 16:07:40 +08:00
Merge pull request #2903 from santouras/fix/adjust-wp-serializer
Add post_number to PostWordpressSerializer
This commit is contained in:
commit
9b5834ba4c
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user