Fix visual bug

This commit is contained in:
Sam 2014-03-25 09:45:21 +11:00
parent 4191972afe
commit 14f7551f2b

View file

@ -7,6 +7,8 @@ if User.limit(20).count < 20 && User.where(admin: true).count == 1
emails = GlobalSetting.developer_emails.split(",")
if emails.length > 1
emails = emails[0..-2].join(' , ') << " or #{emails[-1]} "
else
emails = emails[0]
end
"Congratulations, you installed Discourse! An administrator should now log in with #{emails} to finalize configuration."
end