mirror of https://github.com/mastodon/mastodon
WIP
parent
3a7aec2807
commit
2f013abc59
@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class REST::ReportCategorySerializer < ActiveModel::Serializer
|
||||
attributes :name
|
||||
|
||||
def name
|
||||
object[:name]
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue