@team variable in team_members_controller is not properly defined.
NG DAVID•
I am trying out the invitation feature and find that @team variable is not properly defined in team_members_controller, but current_team. set the @team =current_team do the job. :)