debian-mirror-gitlab/app/helpers/users_helper.rb
2017-08-17 22:00:37 +05:30

7 lines
178 B
Ruby

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