0
0
Fork 0

Added admin api for managing tags (#26872)

This commit is contained in:
Robert R George 2023-09-13 02:22:53 -07:00 committed by GitHub
parent 97e4011c3c
commit 20666482ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 219 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class REST::Admin::TagSerializer < REST::TagSerializer
attributes :id, :trendable, :usable, :requires_review
attributes :id, :trendable, :usable, :requires_review, :listable
def id
object.id.to_s