about summary refs log tree commit diff
path: root/app/presenters/initial_state_presenter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/initial_state_presenter.rb')
-rw-r--r--app/presenters/initial_state_presenter.rb5
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