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 ...@@ -36,6 +36,6 @@ class Admin::Teams::MembersController < Admin::Teams::ApplicationController
protected protected
def team_member def team_member
@member ||= user_team.members.find(params[:id]) @member ||= user_team.members.find_by_username(params[:id])
end end
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