gitlabhq/app/helpers/admin/teams/members_helper.rb

6 lines
151 B
Ruby
Raw Normal View History

2013-01-20 12:25:45 +01:00
module Admin::Teams::MembersHelper
def member_since(team, member)
team.user_team_user_relationships.find_by_user_id(member).created_at
end
end