Commit f225ff86 authored by Andrey Kumanyaev's avatar Andrey Kumanyaev

Update user finding (by username) in admin teams members controller

parent 6efda51c
......@@ -36,6 +36,6 @@ class Admin::Teams::MembersController < Admin::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