Redirect non-logged-in user to owner statuses on single user mode (#19333)
This commit is contained in:
parent
5f6c0d63e3
commit
7afc6a630c
6 changed files with 77 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue