mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 00:29:30 -05:00
d5285e2d93
When we update the <title> after editing a topic, we should use the raw `topic.title` as `topic.fancy_title` may contains some htmlentities and will be displayed as is in the browser tab. This fix the following issue: > Incorrect HTML title after editing title/category of topic > http://meta.discourse.org/t/incorrect-html-title-after-editing-title-category-of-topic/8136
4 lines
192 B
Ruby
4 lines
192 B
Ruby
# The most basic attributes of a topic that we need to create a link for it.
|
|
class BasicTopicSerializer < ApplicationSerializer
|
|
attributes :id, :title, :fancy_title, :slug, :posts_count
|
|
end
|