public function back( $fallback = '', $status = 302 ) {
		$url = $this->request->headers( 'Referer' );

		if ( empty( $url ) ) {
			$url = $fallback;
		}

		if ( empty( $url ) ) {
			$url = $this->request->getUrl();
		}

		return $this->to( $url, $status );
	}
public function back( $fallback = '', $status = 302 ) {
		$url = $this->request->headers( 'Referer' );

		if ( empty( $url ) ) {
			$url = $fallback;
		}

		if ( empty( $url ) ) {
			$url = $this->request->getUrl();
		}

		return $this->to( $url, $status );
	}
public function back ( $ fallback = '' , $ status = 302 ) { $ url = $ this -> request -> headers ( 'Referer' ) ; if ( empty ( $ url ) ) { $ url = $ fallback ; } if ( empty ( $ url ) ) { $ url = $ this -> request -> getUrl ( ) ; } return $ this -> to ( $ url , $ status ) ; }
Get a response redirecting back to the referrer or a fallback.

@param  string                              $fallback
@param  integer                             $status
@return \Psr\Http\Message\ResponseInterface
Get a response redirecting back to the referrer or a fallback .