023d4f6f2f
Signed-off-by: Rémy Coutable <remy@rymai.me>
7 lines
152 B
Ruby
7 lines
152 B
Ruby
module UserActivitiesHelpers
|
|
def user_activity(user)
|
|
Gitlab::UserActivities.new
|
|
.find { |k, _| k == user.id.to_s }&.
|
|
second
|
|
end
|
|
end
|