diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-07-08 14:51:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-08 14:51:05 +0200 |
commit | 864e3f8d9ca652e10a28bddbb0d0df629d2849d4 (patch) | |
tree | 3fb2f9c97fca49cc467622ab532252f8044146f6 /app/presenters | |
parent | 102466ac5842b20f32a9c5e2fa3f35414c34574b (diff) |
Replace OEmbed and initial state Rabl templates with serializers (#4110)
* Replace OEmbed Rabl template with serializer * Replace initial state rabl with serializer
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/initial_state_presenter.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/presenters/initial_state_presenter.rb b/app/presenters/initial_state_presenter.rb new file mode 100644 index 000000000..75fef28a8 --- /dev/null +++ b/app/presenters/initial_state_presenter.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class InitialStatePresenter < ActiveModelSerializers::Model + attributes :settings, :token, :current_account, :admin +end |