Apply Rubocop Style/EmptyElse (#23449)
parent
e0a02f8696
commit
d09952cf77
|
@ -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…
Reference in New Issue