about summary refs log tree commit diff
path: root/app/serializers/rest
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2020-12-06 13:55:35 +0900
committerGitHub <noreply@github.com>2020-12-06 05:55:35 +0100
commit17a2e276413c6b7c46c2f2b54e86eecc549dfb10 (patch)
treedc128bf6d0c18adc261a91fb1a2786cc41f3de9c /app/serializers/rest
parent44d5c6bc8ffd92cd201380dabe35748e50b6af68 (diff)
Fix remove number sign from account_featured_tags (#15277)
Diffstat (limited to 'app/serializers/rest')
-rw-r--r--app/serializers/rest/account_featured_tag_serializer.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/serializers/rest/account_featured_tag_serializer.rb b/app/serializers/rest/account_featured_tag_serializer.rb
index d8d5fd68c..84bef2e62 100644
--- a/app/serializers/rest/account_featured_tag_serializer.rb
+++ b/app/serializers/rest/account_featured_tag_serializer.rb
@@ -9,10 +9,6 @@ class REST::AccountFeaturedTagSerializer < ActiveModel::Serializer
     object.tag.id.to_s
   end
 
-  def name
-    "##{object.name}"
-  end
-
   def url
     short_account_tag_url(object.account, object.tag)
   end