packages/lib-react/lib/router.js
/**
     * For public routes such as
     * @param ctx
     * @param redirect
     */
For public routes such as
@param ctx
@param redirect
For public routes such as @param ctx @param redirect
redirectIfLoggedIn (ctx, redirect) {
        if (Meteor.userId()) {
            redirect('/')
        }
    }
redirectIfLoggedIn ( ctx , redirect ) { if ( Meteor . userId ( ) ) { redirect ( '/' ) } }
For public routes such as
 @param ctx
 @param redirect
For public routes such as @param ctx @param redirect