Merge remote-tracking branch 'parent/main' into upstream-20241203
This commit is contained in:
commit
2d9124a3ab
214 changed files with 1763 additions and 3380 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue