public function redirectByUrl($defaultRedirect = null, $key = null) {
		$redirectUrl = $this->getRedirectUrl($defaultRedirect, $key);

		return $this->_controller->redirect($redirectUrl);
	}
public function redirectByUrl($defaultRedirect = null, $key = null) {
		$redirectUrl = $this->getRedirectUrl($defaultRedirect, $key);

		return $this->_controller->redirect($redirectUrl);
	}
public function redirectByUrl ( $ defaultRedirect = null , $ key = null ) { $ redirectUrl = $ this -> getRedirectUrl ( $ defaultRedirect , $ key ) ; return $ this -> _controller -> redirect ( $ redirectUrl ) ; }
Redirect by URL

@param string|array $defaultRedirect Default redirect URL.
Use if redirect URL is not found in cache.
@param string $key Key for cache
@return CakeResponse|null
@see ViewExtensionComponent::getRedirectUrl()
Redirect by URL