Change featured hashtags to be displayed in navigation panel (#19382)
This commit is contained in:
parent
1b83040bd4
commit
aefa9253d6
9 changed files with 161 additions and 101 deletions
|
@ -16,4 +16,12 @@ class REST::FeaturedTagSerializer < ActiveModel::Serializer
|
|||
def name
|
||||
object.display_name
|
||||
end
|
||||
|
||||
def statuses_count
|
||||
object.statuses_count.to_s
|
||||
end
|
||||
|
||||
def last_status_at
|
||||
object.last_status_at&.to_date&.iso8601
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue