fix parameters for generateRedirectFromRoute
Merge pull request #681 from lunika/redirect

fix parameters for generateRedirectFromRoute