protected function redirectToAction($action)
    {
        return $this->response->redirect([
            'for' => $this->router->getMatchedRoute()->getName(),
            'action' => $action
        ]);
    }
protected function redirectToAction($action)
    {
        return $this->response->redirect([
            'for' => $this->router->getMatchedRoute()->getName(),
            'action' => $action
        ]);
    }
protected function redirectToAction ( $ action ) { return $ this -> response -> redirect ( [ 'for' => $ this -> router -> getMatchedRoute ( ) -> getName ( ) , 'action' => $ action ] ) ; }
Redirect to specific action in the same controller.

@param $action
@return mixed
Redirect to specific action in the same controller .