Fix remove number sign from account_featured_tags (#15277)

master
Takeshi Umeda 4 years ago committed by GitHub
parent 44d5c6bc8f
commit 17a2e27641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/serializers/rest/account_featured_tag_serializer.rb

@ -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

Loading…
Cancel
Save