0759db802f
Make the user_link helper more generic to be used for objects other than pipelines.
7 lines
178 B
Ruby
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
|