Commit df64bdff authored by Andrey Kumanyaev's avatar Andrey Kumanyaev

Update user finding (by username) in teams members (team of users) controller

parent e1679d20
......@@ -43,7 +43,7 @@ class Teams::MembersController < Teams::ApplicationController
protected
def team_member
@member ||= user_team.members.find(params[:id])
@member ||= user_team.members.find_by_username(params[:id])
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment