Controller/CartController.php
protected function redirectAfterContentChange(Request $request)
    {
        if (null !== $referer = $request->headers->get('referer', null)) {
            return $this->redirect($referer);
        }

        return $this->redirect($this->generateUrl('ekyna_cart_index'));
    }
protected function redirectAfterContentChange(Request $request)
    {
        if (null !== $referer = $request->headers->get('referer', null)) {
            return $this->redirect($referer);
        }

        return $this->redirect($this->generateUrl('ekyna_cart_index'));
    }
protected function redirectAfterContentChange ( Request $ request ) { if ( null !== $ referer = $ request -> headers -> get ( 'referer' , null ) ) { return $ this -> redirect ( $ referer ) ; } return $ this -> redirect ( $ this -> generateUrl ( 'ekyna_cart_index' ) ) ; }
Redirects after order content changed.

@param Request $request
@return \Symfony\Component\HttpFoundation\RedirectResponse
Redirects after order content changed .