Minor nit: define above like course_team_url (or remove definition of course_team_url to follow this pattern).