mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-12 23:38:20 +00:00
Apply Rubocop Style/EmptyElse (#23449)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user