user presenter: fix syntax error in previous names.

Fixup for 0ad42d23c.
This commit is contained in:
evazion
2020-02-21 00:20:18 -06:00
parent 9b58cb7b42
commit 2f5255f6b7

View File

@@ -153,7 +153,7 @@ class UserPresenter
def previous_names(template)
user.user_name_change_requests.visible(CurrentUser.user).map do |req|
template.link_to req.original_name, req }.join(", ").html_safe
end
template.link_to req.original_name, req
end.join(", ").html_safe
end
end