1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 14:58:21 +09:00

Apply Rubocop Style/EmptyElse (#23449)

This commit is contained in:
Nick Schonning 2023-02-08 01:08:39 -05:00 committed by GitHub
parent f68bb52556
commit 26ac2447b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,8 +97,6 @@ class REST::InstanceSerializer < ActiveModel::Serializer
def registrations_message def registrations_message
if Setting.closed_registrations_message.present? if Setting.closed_registrations_message.present?
markdown.render(Setting.closed_registrations_message) markdown.render(Setting.closed_registrations_message)
else
nil
end end
end end