diff options
author | ThibG <thib@sitedethib.com> | 2018-06-16 15:08:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-16 15:08:52 +0200 |
commit | c08a2495589183f39cf44ac4c9b71f81dd9dacdc (patch) | |
tree | 15f4291e3d955f17489f3c43ab711dc536c32bb8 /app/serializers | |
parent | e8ccac468af9530b4f4d38598859efdb2eb48976 (diff) | |
parent | db200226b805db324a8efdfb951d7725eac3f9da (diff) |
Merge pull request #544 from ThibG/glitch-soc/merge-upstream
Merge branch 'master' into glitch-soc/merge-upstream
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 4f2f4e38a..ce56f900a 100644 --- a/app/serializers/initial_state_serializer.rb +++ b/app/serializers/initial_state_serializer.rb @@ -19,6 +19,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 |