public function back()
    {
        $referer = $this->request->server()->get('HTTP_REFERER');

        if (null !== $referer) {
            $this->response->redirect($referer);
        } else {
            $this->refresh();
        }

        return $this;
    }
public function back()
    {
        $referer = $this->request->server()->get('HTTP_REFERER');

        if (null !== $referer) {
            $this->response->redirect($referer);
        } else {
            $this->refresh();
        }

        return $this;
    }
public function back ( ) { $ referer = $ this -> request -> server ( ) -> get ( 'HTTP_REFERER' ) ; if ( null !== $ referer ) { $ this -> response -> redirect ( $ referer ) ; } else { $ this -> refresh ( ) ; } return $ this ; }
Redirects the request back to the referrer

@return ServiceProvider
Redirects the request back to the referrer