debian-mirror-gitlab/app/helpers/users_helper.rb

8 lines
178 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
module UsersHelper
def user_link(user)
link_to(user.name, user_path(user),
title: user.email,
class: 'has-tooltip commit-committer-link')
end
end