mastodon/app/presenters/initial_state_presenter.rb

6 lines
152 B
Ruby

# frozen_string_literal: true
class InitialStatePresenter < ActiveModelSerializers::Model
attributes :settings, :token, :current_account, :admin
end