Apply Rubocop Style/EmptyElse (#23449)

main
Nick Schonning 2 years ago committed by GitHub
parent f68bb52556
commit 26ac2447b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save