fix parameters for generateRedirectFromRoute