mirror of
https://github.com/discourse/discourse.git
synced 2026-03-04 01:15:08 +08:00
Localizes topic titles in these areas - user notification - bookmarks This commit also updates the user notification bookmark list to use fancy title instead of title, similar to the other user notification tabs.
8 lines
264 B
Ruby
8 lines
264 B
Ruby
# frozen_string_literal: true
|
|
|
|
# The most basic attributes of a topic that we need to create a link for it.
|
|
class BasicTopicSerializer < ApplicationSerializer
|
|
include LocalizedFancyTopicTitleMixin
|
|
|
|
attributes :id, :title, :fancy_title, :slug, :posts_count
|
|
end
|