mirror of
https://github.com/mastodon/mastodon
synced 2024-12-23 02:58:16 +09:00
864e3f8d9c
* Replace OEmbed Rabl template with serializer * Replace initial state rabl with serializer
6 lines
152 B
Ruby
6 lines
152 B
Ruby
# frozen_string_literal: true
|
|
|
|
class InitialStatePresenter < ActiveModelSerializers::Model
|
|
attributes :settings, :token, :current_account, :admin
|
|
end
|