mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-11 04:36:45 +00:00
* 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
|