mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 05:08:03 +00:00
Apply Rubocop Style/EmptyElse (#23449)
This commit is contained in:
parent
f68bb52556
commit
26ac2447b4
|
@ -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 a new issue