[5.0] Fix redirectToAction method

Changed the undefined route variable to the action variable