diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2022-10-13 04:07:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-12 21:07:30 +0200 |
commit | 7afc6a630c76fb071bd189af3ac1366efc82f819 (patch) | |
tree | d9d1b096db2c9fd7c3c8e766ee768611e21c7630 /app/presenters | |
parent | 5f6c0d63e3f9e90d57204126409bbda539e352d8 (diff) |
Redirect non-logged-in user to owner statuses on single user mode (#19333)
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/initial_state_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/initial_state_presenter.rb b/app/presenters/initial_state_presenter.rb index 129ea2a46..ed0479211 100644 --- a/app/presenters/initial_state_presenter.rb +++ b/app/presenters/initial_state_presenter.rb @@ -2,7 +2,7 @@ class InitialStatePresenter < ActiveModelSerializers::Model attributes :settings, :push_subscription, :token, - :current_account, :admin, :text, :visibility + :current_account, :admin, :owner, :text, :visibility def role current_account&.user_role |