diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-06-15 15:51:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-15 15:51:37 +0200 |
commit | 1cc775200eab449c90e1ebb463ee19ee76c2935b (patch) | |
tree | ad20c02976a11e6ae846c11dd5b2dbd20116f701 /app/serializers | |
parent | 4f42238c294f92dbd87db3d83f9514344fcd1f8a (diff) |
Add "find friends", "invite people", and more to getting started footer (#7803)
- Find friends from Twitter (bridge) - Invite people (when invites enabled) - Security (change e-mail/password) - Developers (create OAuth apps/tokens)
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/initial_state_serializer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/initial_state_serializer.rb b/app/serializers/initial_state_serializer.rb index 6c9fba2f5..42d0e4bf3 100644 --- a/app/serializers/initial_state_serializer.rb +++ b/app/serializers/initial_state_serializer.rb @@ -14,6 +14,7 @@ class InitialStateSerializer < ActiveModel::Serializer domain: Rails.configuration.x.local_domain, admin: object.admin&.id&.to_s, search_enabled: Chewy.enabled?, + invites_enabled: Setting.min_invite_role == 'user', } if object.current_account |