Remove use of redirect method and redirectToRoute method
Merge pull request #745 from Asturyan/fix-redirect

Remove use of redirect method and redirectToRoute method