0
0
Fork 0

Replace OEmbed and initial state Rabl templates with serializers (#4110)

* Replace OEmbed Rabl template with serializer

* Replace initial state rabl with serializer
This commit is contained in:
Eugen Rochko 2017-07-08 14:51:05 +02:00 committed by GitHub
parent 102466ac58
commit 864e3f8d9c
9 changed files with 121 additions and 94 deletions

View file

@ -0,0 +1,5 @@
# frozen_string_literal: true
class InitialStatePresenter < ActiveModelSerializers::Model
attributes :settings, :token, :current_account, :admin
end