gitlab-org--gitlab-foss/app/helpers/users_helper.rb

8 lines
178 B
Ruby
Raw Normal View History

module UsersHelper
def user_link(user)
link_to(user.name, user_path(user),
title: user.email,
class: 'has-tooltip commit-committer-link')
end
end