mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-27 15:46:55 +00: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
|