diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-08 01:08:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 07:08:39 +0100 |
commit | 26ac2447b4efc4689295188c5d1cd3d444f28b15 (patch) | |
tree | e8387010bdd3d9ff2a8701ee60ca0d29c067c29e /app/serializers | |
parent | f68bb52556fe90d7adad8db9ba8b801a22281f30 (diff) |
Apply Rubocop Style/EmptyElse (#23449)
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/rest/instance_serializer.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/serializers/rest/instance_serializer.rb b/app/serializers/rest/instance_serializer.rb index fbb2fea0d..e280f8eb6 100644 --- a/app/serializers/rest/instance_serializer.rb +++ b/app/serializers/rest/instance_serializer.rb @@ -97,8 +97,6 @@ class REST::InstanceSerializer < ActiveModel::Serializer def registrations_message if Setting.closed_registrations_message.present? markdown.render(Setting.closed_registrations_message) - else - nil end end |