We've moved discussions to Discord

current_team

Greg W.
Hi, where can I change the default behavior of current_team?

I would like the 'Impersonal Team (where team.personal == false) to be the default "Sign in as" instead of the personal team. It seems to default differently for user invited (defaults as impersonal team) vs. user that sign up (defaults as personal team)..
NG DAVID
Guess you go to the teams (index) and press switch link on the team item. 
Greg W.
Thanks, but I meant in code and you are referencing the UI. I can't locate where current_team is defined. Would prefer a user create their own non-personal team at sign-up.
NG DAVID
The code current_team is in the app/application_conroller.rb 
NG DAVID
The code current_team is in the app/application_conroller.rb 
Greg W.
Thanks.
Notifications
You’re not receiving notifications from this thread.