Update user finding (by username) in admin teams members controller
This commit is contained in:
parent
6efda51cc5
commit
f225ff8674
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue