diff --git a/app/presenters/user_presenter.rb b/app/presenters/user_presenter.rb index 8513109fb..9fcac376d 100644 --- a/app/presenters/user_presenter.rb +++ b/app/presenters/user_presenter.rb @@ -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