Apply Rubocop Style/EmptyElse (#23449)

lolsob-rspec
Nick Schonning 2023-02-08 01:08:39 -05:00 committed by GitHub
parent e0a02f8696
commit d09952cf77
1 changed files with 0 additions and 2 deletions

View File

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