about summary refs log tree commit diff
path: root/app/presenters
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2020-06-09 07:16:30 +0900
committerGitHub <noreply@github.com>2020-06-09 00:16:30 +0200
commit13f065da05cb90a98bd6ade4f7ea2b5c37a8343c (patch)
tree6994d192de9d1a8b44006530c0d4216b6b3c9bf6 /app/presenters
parente0f55f374caa90ab946bd48bdf8770d51930047b (diff)
Add visibility parameter in share page (#13023)
* Add visibility parameter in share page

* Restrict to default privacy
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/initial_state_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/initial_state_presenter.rb b/app/presenters/initial_state_presenter.rb
index 70c496be8..06482935c 100644
--- a/app/presenters/initial_state_presenter.rb
+++ b/app/presenters/initial_state_presenter.rb
@@ -2,5 +2,5 @@
 
 class InitialStatePresenter < ActiveModelSerializers::Model
   attributes :settings, :push_subscription, :token,
-             :current_account, :admin, :text
+             :current_account, :admin, :text, :visibility
 end