mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 14:19:49 +08:00
ad082cea70
- Support for a popup that shows similar topics - Cleaned up a lot of Javascript - Cleaned up use of Promises
10 lines
234 B
Ruby
10 lines
234 B
Ruby
require_dependency 'age_words'
|
|
|
|
# The most basic attributes of a topic that we need to create a link for it.
|
|
class BasicTopicSerializer < ApplicationSerializer
|
|
include ActionView::Helpers
|
|
|
|
attributes :id, :fancy_title, :slug
|
|
|
|
end
|