user presenter: fix syntax error in previous names.
Fixup for 0ad42d23c.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user