mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
![Eugen Rochko](/assets/img/avatar_default.png)
* 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
|