Merge remote-tracking branch 'parent/main' into upstream-20241203

This commit is contained in:
KMY 2024-12-03 18:03:14 +09:00
commit 2d9124a3ab
214 changed files with 1763 additions and 3380 deletions

View file

@ -3,10 +3,14 @@
class REST::TagSerializer < ActiveModel::Serializer
include RoutingHelper
attributes :name, :url, :history
attributes :id, :name, :url, :history
attribute :following, if: :current_user?
def id
object.id.to_s
end
def url
tag_url(object)
end