Fix remove number sign from account_featured_tags (#15277)

This commit is contained in:
Takeshi Umeda 2020-12-06 13:55:35 +09:00 committed by GitHub
parent 44d5c6bc8f
commit 17a2e27641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,10 +9,6 @@ class REST::AccountFeaturedTagSerializer < ActiveModel::Serializer
object.tag.id.to_s object.tag.id.to_s
end end
def name
"##{object.name}"
end
def url def url
short_account_tag_url(object.account, object.tag) short_account_tag_url(object.account, object.tag)
end end