FlowRouter Inside a trigger FlowRouter.go or redirect?


#1

Hi,

FlowRouter Inside a trigger FlowRouter.go or redirect?
What is the difference?

publicRoutes.route('/login', {
  name: 'login',
  triggersEnter: [function(context, redirect){
    //FlowRouter.go or redirect?
  }],
  triggersExit: [function(){
  }],
  action() {
    BlazeLayout.render('Layout_empty', { main: 'Page_login' });
  }
});

#2

I’m not 100% sure but I think that redirect prevents any of the other actions on that route from executing, while FlowRouter.go won’t