Expand description
Install bootstrap guard.
Redirects a non-bypassed request to the first unmet precondition:
no users โ /setup; authenticated with no league โ /leagues/new;
authenticated with no team in the resolved league, when team creation is
theirs to do (needs_team_creation) โ /teams/new.
Functionsยง
- bootstrap
- Redirect to the first unmet bootstrap precondition.